type tradePayOption = { tradeNO?: string; partnerID?: string; bizType?: string; bizSubType?: string; bizContext?: string; orderStr?: string; }; type scanOption = { type?: "qr" | "bar"; }; type getLocationOption = { cacheTimeout?: number; type?: 0 | 1 | 2; timeout?: number; bizType?: number; }; type getLocationResult = { longitude: string; latitude: string; accuracy: string; speed: string; country?: string; countryCode?: string; province?: string; city?: string; cityCode?: string; adCode?: string; streetNumber?: { street: string; number: number; }; pois?: { name: string; address: string; }[]; }; type openLocationOption = { longitude: string; latitude: string; name?: string; address?: string; scale?: number; }; type chooseImageOption = { count?: number; sourceType?: ["camera", "album"] | ["camera"] | ["album"]; }; type chooseImageResult = { apFilePaths: string[]; }; type previewImageOption = { urls: string[]; current?: number; }; export declare function aliJsReady(callback: () => void): void; export declare function aliJsTradePay(option: tradePayOption, successCb?: (message: string) => void, errorCb?: (message: string) => void): void; export declare function aliJsScan(option: scanOption, successCb?: (code: string) => void, errorCb?: (message: string) => void): void; export declare function aliJsGetLocation(option: getLocationOption, successCb?: (res: getLocationResult) => void, errorCb?: (message: string) => void): void; export declare function aliJsOpenLocation(option: openLocationOption, successCb?: () => void, errorCb?: (message: string) => void): void; export declare function aliJsChooseImage(option: chooseImageOption, successCb?: (res: chooseImageResult) => void, errorCb?: (message: string) => void): void; export declare function aliJsPreviewImage(option: previewImageOption, successCb?: () => void, errorCb?: (message: string) => void): void; export {}; //# sourceMappingURL=aliJSSDK.d.ts.map