import { OpResult } from '../mslib/OpResult';
export declare namespace QueryAdServiceDeclare {
    namespace $parameters {
        interface RequestParam {
            positionReqParams?: Array<PositionReqParam>;
            apiVer?: string;
            userId?: string;
            lotId?: string;
            openId?: string;
            cityId?: string;
        }
        interface PositionReqParam {
            id?: string;
            positionType?: number;
            positionWidth?: number;
            positionHeight?: number;
            reqAdCount?: number;
        }
    }
    namespace $results {
        interface Data {
            requestId?: string;
            positionInfos?: Array<PositionInfo>;
            userInfo?: UserInfo;
        }
        interface PositionInfo {
            id?: string;
            name?: string;
            type?: number;
            adInfos?: Array<AdInfo>;
        }
        interface AdInfo {
            id?: string;
            name?: string;
            url?: string;
            adDeliveryPlanId?: string;
            materialInfo?: MaterialInfo;
            partner?: number;
        }
        interface MaterialInfo {
            id?: string;
            name?: string;
            styleInfo?: StyleInfo;
            materialDeatils?: MaterialDeatils;
        }
        interface StyleInfo {
            id?: string;
            width?: number;
            height?: number;
        }
        interface MaterialDeatils {
            id?: string;
            type?: number;
            value?: string;
        }
        interface UserInfo {
            userId?: string;
            userType?: number;
            adFlowId?: string;
        }
    }
    type Parameters = $parameters.RequestParam;
    type Result = OpResult<$results.Data>;
}
export declare type Parameters = QueryAdServiceDeclare.Parameters;
export declare type Result = QueryAdServiceDeclare.Result;
