/// /// /** * 基础 API */ export declare const canIUse: typeof my.canIUse; export declare const env: { USER_DATA_PATH: string; clientName: string; clientVersion: string; language: string; platform: string; }; export declare const isIDE: boolean; export declare const getLaunchOptionsSync: typeof my.getLaunchOptionsSync; export declare const getEnterOptionsSync: typeof my.getEnterOptionsSync; export declare const SDKVersion: string; export declare const getAccountInfoSync: typeof my.getAccountInfoSync; export declare const getAppIdSync: typeof my.getAppIdSync; export declare const getRunScene: (arg?: ({ success?(data: { envVersion: "gray" | "release" | "develop" | "trial"; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { envVersion: "gray" | "release" | "develop" | "trial"; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ envVersion: "gray" | "release" | "develop" | "trial"; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ envVersion: "gray" | "release" | "develop" | "trial"; }>; export declare const base64ToArrayBuffer: typeof my.base64ToArrayBuffer; export declare const arrayBufferToBase64: typeof my.arrayBufferToBase64; export declare const getPerformance: any; export declare const setEnableDebug: (arg?: any) => Promise; export declare const onAppShow: typeof my.onAppShow; export declare const offAppShow: typeof my.offAppShow; export declare const onAppHide: typeof my.onAppHide; export declare const offAppHide: typeof my.offAppHide; export declare const onPageNotFound: typeof my.onPageNotFound; export declare const offPageNotFound: typeof my.offPageNotFound; export declare const onUnhandledRejection: typeof my.onUnhandledRejection; export declare const offUnhandledRejection: typeof my.offUnhandledRejection; export declare const onError: typeof my.onError; export declare const offError: typeof my.offError; export declare const onComponentError: typeof my.onComponentError; export declare const offComponentError: typeof my.offComponentError; export declare const onLazyLoadError: any; export declare const offLazyLoadError: any; export declare const setNavigationBar: (arg?: ({ title?: string | undefined; image?: string | undefined; backgroundColor?: string | undefined; borderBottomColor?: string | undefined; reset?: boolean | undefined; frontColor?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setNavigationBarTitle: (arg?: ({ title?: string | undefined; image?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setNavigationBarColor: (arg?: ({ backgroundColor?: string | undefined; frontColor?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setNavigationBarBottomLineColor: (arg?: ({ borderBottomColor?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideBackHome: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const getTitleColor: (arg?: ({ success?(data: { color: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { color: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ color: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ color: string; }>; export declare const getMenuButtonBoundingClientRect: typeof my.getMenuButtonBoundingClientRect; export declare const getLeftButtonsBoundingClientRect: typeof my.getLeftButtonsBoundingClientRect; export declare const showNavigationBarLoading: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideNavigationBarLoading: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showTabBar: (arg?: ({ animation?: boolean | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideTabBar: (arg?: ({ animation?: boolean | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setTabBarBadge: (arg?: ({ index: number; text: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setTabBarItem: (arg?: ({ index: number; text: string; iconPath?: string | undefined; selectedIconPath?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setTabBarStyle: (arg?: ({ color: string; selectedColor: string; backgroundColor: string; borderStyle: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const removeTabBarBadge: (arg?: ({ index: number; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showTabBarRedDot: (arg?: ({ index: number; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideTabBarRedDot: typeof my.hideTabBarRedDot; export declare const switchTab: (arg?: ({ url: string; resolvedPath?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const navigateTo: (arg?: ({ url: string; events?: my.IMyNavigateToEvents | undefined; resolvedPath?: string | undefined; success?(data: { eventChannel: my.EventChannel; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { eventChannel: my.EventChannel; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ eventChannel: my.EventChannel; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ eventChannel: my.EventChannel; }>; export declare const navigateBack: (arg?: ({ delta?: string | number | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const redirectTo: (arg?: ({ url: string; resolvedPath?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const reLaunch: (arg?: ({ url: string; resolvedPath?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showLoading: (arg?: ({ content?: string | undefined; delay?: number | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideLoading: (arg?: ({ page?: unknown; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showModal: (arg?: ({ title?: string | undefined; content?: string | undefined; showCancel?: boolean | undefined; cancelText?: string | undefined; cancelColor?: string | undefined; confirmText?: string | undefined; confirmColor?: string | undefined; editable?: boolean | undefined; placeholderText?: string | undefined; success?(data: { confirm: boolean; content?: string | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { confirm: boolean; content?: string | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ confirm: boolean; content?: string | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ confirm: boolean; content?: string | undefined; }>; export declare const alert: (arg?: ({ title?: string | undefined; content?: string | undefined; buttonText?: string | undefined; confirmColor?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showToast: (arg?: ({ content?: string | undefined; type?: "none" | "success" | "loading" | "fail" | "exception" | undefined; duration?: number | undefined; delay?: number | undefined; xOffset?: number | undefined; yOffset?: number | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideToast: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showActionSheet: (arg?: ({ title?: string | undefined; destructiveBtnIndex?: number | undefined; badges?: my.IMyShowActionSheetBadges[] | undefined; items: string[]; cancelButtonText?: string | undefined; success?(data: { index: number; success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { index: number; success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ index: number; success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ index: number; success: true; }>; export declare const confirm: (arg?: ({ title?: string | undefined; content?: string | undefined; confirmButtonText?: string | undefined; cancelButtonText?: string | undefined; confirmColor?: string | undefined; cancelColor?: string | undefined; success?(data: { confirm: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { confirm: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ confirm: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ confirm: boolean; }>; export declare const prompt: (arg?: ({ title: string; message?: string | undefined; align?: "right" | "center" | "left" | undefined; placeholder?: string | undefined; confirmColor?: string | undefined; cancelColor?: string | undefined; okButtonText?: string | undefined; cancelButtonText?: string | undefined; success?(data: { ok: boolean; inputValue: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { ok: boolean; inputValue: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ ok: boolean; inputValue: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ ok: boolean; inputValue: string; }>; export declare const enableAlertBeforeUnload: (arg?: ({ message?: string | undefined; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 7; errorMessage: "has not found page when enableAlertBeforeUnload has been invoked"; } | { error: 8; errorMessage: "can not invoke enableAlertBeforeUnload at first page"; } | { error: 9; errorMessage: "client not support enableAlertBeforeUnload"; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 7; errorMessage: "has not found page when enableAlertBeforeUnload has been invoked"; } | { error: 8; errorMessage: "can not invoke enableAlertBeforeUnload at first page"; } | { error: 9; errorMessage: "client not support enableAlertBeforeUnload"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 7; errorMessage: "has not found page when enableAlertBeforeUnload has been invoked"; } | { error: 8; errorMessage: "can not invoke enableAlertBeforeUnload at first page"; } | { error: 9; errorMessage: "client not support enableAlertBeforeUnload"; }>) | undefined) => Promise<{ success: boolean; }>; export declare const disableAlertBeforeUnload: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 7; errorMessage: "has not found page when disableAlertBeforeUnload has been invoked"; } | { error: 8; errorMessage: "can not invoke disableAlertBeforeUnload at first page"; } | { error: 9; errorMessage: "client not support disableAlertBeforeUnload"; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 7; errorMessage: "has not found page when disableAlertBeforeUnload has been invoked"; } | { error: 8; errorMessage: "can not invoke disableAlertBeforeUnload at first page"; } | { error: 9; errorMessage: "client not support disableAlertBeforeUnload"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 7; errorMessage: "has not found page when disableAlertBeforeUnload has been invoked"; } | { error: 8; errorMessage: "can not invoke disableAlertBeforeUnload at first page"; } | { error: 9; errorMessage: "client not support disableAlertBeforeUnload"; }>) | undefined) => Promise<{ success: boolean; }>; export declare const showAppModal: (arg?: any) => Promise; export declare const startPullDownRefresh: (arg?: ({ success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const stopPullDownRefresh: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const choosePhoneContact: (arg?: ({ success?(data: { name: string; mobile: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { name: string; mobile: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ name: string; mobile: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ name: string; mobile: string; }>; export declare const chooseAlipayContact: (arg?: ({ count?: number | undefined; success?(data: { contacts: my.IMyChooseAlipayContactContacts[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 10; errorMessage: "没有权限"; } | { error: 11; errorMessage: "用户取消操作(或设备未授权使用通讯录)"; }): void; complete?(arg: { contacts: my.IMyChooseAlipayContactContacts[]; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 10; errorMessage: "没有权限"; } | { error: 11; errorMessage: "用户取消操作(或设备未授权使用通讯录)"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ contacts: my.IMyChooseAlipayContactContacts[]; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 10; errorMessage: "没有权限"; } | { error: 11; errorMessage: "用户取消操作(或设备未授权使用通讯录)"; }>) | undefined) => Promise<{ contacts: my.IMyChooseAlipayContactContacts[]; }>; export declare const chooseContact: (arg?: ({ chooseType: "single" | "multi"; includeMe?: boolean | undefined; includeMobileContactMode?: "all" | "none" | "known" | undefined; multiChooseMax?: number | undefined; multiChooseMaxTips?: string | undefined; success?(data: { contactsDicArray: my.IMyChooseContactContactsDicArray[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { contactsDicArray: my.IMyChooseContactContactsDicArray[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ contactsDicArray: my.IMyChooseContactContactsDicArray[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ contactsDicArray: my.IMyChooseContactContactsDicArray[]; }>; export declare const chooseCity: (arg?: ({ showLocatedCity?: boolean | undefined; showHotCities?: boolean | undefined; setLocatedCity?: boolean | undefined; cities?: my.ITypeCityInfo[] | undefined; hotCities?: my.ITypeCityInfo[] | undefined; customHistoryCities?: my.ITypeCityInfo[] | undefined; success?(data: { city: string; adCode: string; longitude?: number | undefined; latitude?: number | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "用户取消操作"; }): void; complete?(arg: { city: string; adCode: string; longitude?: number | undefined; latitude?: number | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "用户取消操作"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ city: string; adCode: string; longitude?: number | undefined; latitude?: number | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "用户取消操作"; }>) | undefined) => Promise<{ city: string; adCode: string; longitude?: number | undefined; latitude?: number | undefined; }>; export declare const chooseDistrict: (arg?: ({ mode: EChooseDistrictMode; mainTitle?: string | undefined; mainHeadList?: my.IChooseDistrictMainHeadList[] | undefined; mainNormalList?: my.IChooseDistrictMainHeadListList[] | undefined; seniorTitle?: string | undefined; seniorPageList?: my.IChooseDistrictSeniorPageList[] | undefined; mainMergeOptions?: my.IChooseDistrictMainMergeOptions | undefined; src?: string | undefined; adVersion?: string | undefined; success?(data: { name: string; adCode: string; ext?: Record | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { name: string; adCode: string; ext?: Record | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ name: string; adCode: string; ext?: Record | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ name: string; adCode: string; ext?: Record | undefined; }>; export declare const regionPicker: (arg?: ({ title?: string | undefined; customItem?: string | undefined; mergeOptions?: my.IRegionPickerMergeOptions | undefined; selectedItem?: string[] | undefined; adVersion?: string | undefined; success?(data: { data: string[]; code: string[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { data: string[]; code: string[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ data: string[]; code: string[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ data: string[]; code: string[]; }>; export declare const datePicker: (arg?: ({ format?: "yyyy-MM-dd" | "HH:mm" | "yyyy-MM" | "yyyy" | "HH:mm:ss" | "yyyy-MM-dd HH:mm:ss" | "yyyy-MM-dd HH:mm" | undefined; currentDate?: string | undefined; startDate?: string | undefined; endDate?: string | undefined; success?(data: { date: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { date: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ date: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ date: string; }>; export declare const createAnimation: typeof my.createAnimation; export declare const getMapInfo: (arg?: ({ success?(data: { is3d: boolean; isSupportAnim: boolean; sdkName: string; sdkVersion: string; isSupportOversea: boolean; needStyleV7: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { is3d: boolean; isSupportAnim: boolean; sdkName: string; sdkVersion: string; isSupportOversea: boolean; needStyleV7: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ is3d: boolean; isSupportAnim: boolean; sdkName: string; sdkVersion: string; isSupportOversea: boolean; needStyleV7: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ is3d: boolean; isSupportAnim: boolean; sdkName: string; sdkVersion: string; isSupportOversea: boolean; needStyleV7: boolean; }>; export declare const createMapContext: typeof my.createMapContext; export declare const calculateRoute: (arg?: ({ searchType?: "walk" | "bus" | "drive" | "ride" | undefined; startLat: number; startLng: number; endLat: number; endLng: number; throughPoints?: my.ICalculateRouteThroughPoints[] | undefined; mode?: ECalculateRouteMode | undefined; city?: string | undefined; destinationCity?: string | undefined; success?(data: { success: boolean; distance: number; duration: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; distance: number; duration: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; distance: number; duration: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; distance: number; duration: number; }>; export declare const hideKeyboard: typeof my.hideKeyboard; export declare const getSelectedTextRange: (arg?: any) => Promise; export declare const pageScrollTo: (arg?: ({ scrollTop?: number | undefined; selector?: string | undefined; duration?: number | undefined; offsetTop?: number | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 1; errorMessage: "need scrollTop or selector"; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 1; errorMessage: "need scrollTop or selector"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 1; errorMessage: "need scrollTop or selector"; }>) | undefined) => Promise<{}>; export declare const setPageScrollable: (arg?: any) => Promise; export declare const createSelectorQuery: typeof my.createSelectorQuery; export declare const createIntersectionObserver: typeof my.createIntersectionObserver; export declare const optionsSelect: (arg?: ({ title?: string | undefined; optionsOne: string[]; optionsTwo?: string[] | undefined; selectedOneIndex?: number | undefined; selectedTwoIndex?: number | undefined; positiveString?: string | undefined; negativeString?: string | undefined; success?(data: { selectedOneIndex: number; selectedTwoIndex?: number | undefined; selectedOneOption: string; selectedTwoOption?: string | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { selectedOneIndex: number; selectedTwoIndex?: number | undefined; selectedOneOption: string; selectedTwoOption?: string | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ selectedOneIndex: number; selectedTwoIndex?: number | undefined; selectedOneOption: string; selectedTwoOption?: string | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ selectedOneIndex: number; selectedTwoIndex?: number | undefined; selectedOneOption: string; selectedTwoOption?: string | undefined; }>; export declare const multiLevelSelect: (arg?: ({ title?: string | undefined; result?: my.IBeehiveMultilevelSelectResult[] | undefined; list: my.IBeehiveMultilevelSelectList[]; path?: string | undefined; success?(data: { success: true; result: my.IBeehiveMultilevelSelectResult[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; result: my.IBeehiveMultilevelSelectResult[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; result: my.IBeehiveMultilevelSelectResult[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; result: my.IBeehiveMultilevelSelectResult[]; }>; export declare const setBackgroundColor: (arg?: ({ backgroundColor?: string | undefined; backgroundColorTop?: string | undefined; backgroundColorBottom?: string | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const setBackgroundTextStyle: (arg?: ({ textStyle: "light" | "dark"; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const setCanPullDown: (arg?: ({ canPullDown: boolean; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const loadFontFace: (arg?: ({ nativeCanvas?: boolean | undefined; family: string; source: string; desc?: my.IMyLoadFontFaceDesc | undefined; global?: boolean | undefined; success?(data: { status: "loaded"; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 10; errorMessage?: string | undefined; }): void; complete?(arg: { status: "loaded"; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 10; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ status: "loaded"; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 10; errorMessage?: string | undefined; }>) | undefined) => Promise<{ status: "loaded"; }>; export declare const navigateToMiniProgram: (arg?: ({ appId: string; path?: string | undefined; query?: my.IMyNavigateToMiniProgramQuery | undefined; extraData?: my.IMyNavigateToMiniProgramExtraData | undefined; envVersion?: "release" | "develop" | "trial" | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const navigateBackMiniProgram: (arg?: ({ extraData?: Record | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openEmbeddedMiniProgram: (arg?: any) => Promise; export declare const openAlipayApp: (arg?: any) => Promise; export declare const openURL: (arg?: any) => Promise; export declare const restartMiniProgram: (arg?: any) => Promise; export declare const exitMiniProgram: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 5; errorMessage: "exitMiniProgram can only be invoked by user tap gesture"; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 5; errorMessage: "exitMiniProgram can only be invoked by user tap gesture"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 5; errorMessage: "exitMiniProgram can only be invoked by user tap gesture"; }>) | undefined) => Promise<{}>; export declare const chooseImage: (arg?: ({ count?: number | undefined; sizeType?: ("original" | "compressed")[] | undefined; sourceType?: "camera" | "album" | ("camera" | "album")[] | undefined; storeToAlbum?: boolean | undefined; success?(data: { apFilePaths: string[]; tempFilePaths: string[]; tempFiles: my.IMyChooseImageTempFiles; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "用户取消操作"; } | { error: 2001; errorMessage: "在申请授权时用户拒绝授权"; }): void; complete?(arg: { apFilePaths: string[]; tempFilePaths: string[]; tempFiles: my.IMyChooseImageTempFiles; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "用户取消操作"; } | { error: 2001; errorMessage: "在申请授权时用户拒绝授权"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ apFilePaths: string[]; tempFilePaths: string[]; tempFiles: my.IMyChooseImageTempFiles; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "用户取消操作"; } | { error: 2001; errorMessage: "在申请授权时用户拒绝授权"; }>) | undefined) => Promise<{ apFilePaths: string[]; tempFilePaths: string[]; tempFiles: my.IMyChooseImageTempFiles; }>; export declare const previewImage: (arg?: ({ enableSavePhoto?: boolean | undefined; enableShowPhotoDownload?: boolean | undefined; urls: string[]; current?: number | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const getImageInfo: (arg?: ({ src: string; success?(data: { width: number; height: number; path: string; size?: number | undefined; type: number; orientation: "right" | "left" | "up" | "down" | "up-mirrored" | "down-mirrored" | "left-mirrored" | "right-mirrored"; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 12; errorMessage: "路径不能为空"; } | { error: 18; errorMessage: "获取图片信息失败"; } | { error: 22; errorMessage: "不支持的地址后缀名"; }): void; complete?(arg: { width: number; height: number; path: string; size?: number | undefined; type: number; orientation: "right" | "left" | "up" | "down" | "up-mirrored" | "down-mirrored" | "left-mirrored" | "right-mirrored"; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 12; errorMessage: "路径不能为空"; } | { error: 18; errorMessage: "获取图片信息失败"; } | { error: 22; errorMessage: "不支持的地址后缀名"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ width: number; height: number; path: string; size?: number | undefined; type: number; orientation: "right" | "left" | "up" | "down" | "up-mirrored" | "down-mirrored" | "left-mirrored" | "right-mirrored"; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 12; errorMessage: "路径不能为空"; } | { error: 18; errorMessage: "获取图片信息失败"; } | { error: 22; errorMessage: "不支持的地址后缀名"; }>) | undefined) => Promise<{ width: number; height: number; path: string; size?: number | undefined; type: number; orientation: "right" | "left" | "up" | "down" | "up-mirrored" | "down-mirrored" | "left-mirrored" | "right-mirrored"; }>; export declare const saveImageToPhotosAlbum: (arg?: ({ filePath: string; hideToast?: boolean | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const compressImage: (arg?: ({ apFilePaths: string[]; compressLevel?: ECompressImageCompressLevel | undefined; compressedWidth?: number | undefined; compressedHeight?: number | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; success?(data: { apFilePaths: string[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { apFilePaths: string[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ apFilePaths: string[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ apFilePaths: string[]; }>; export declare const generateImageFromCode: (arg?: ({ code: string; format: "QRCODE"; width: number; correctLevel: "L" | "M" | "Q" | "H"; orientation: "right" | "left" | "up" | "down" | "up-mirrored" | "down-mirrored" | "left-mirrored" | "right-mirrored"; codeColor: string; success?(data: { image: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { image: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ image: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ image: string; }>; export declare const chooseVideo: (arg?: ({ sourceType?: "camera" | "album" | ("camera" | "album")[] | undefined; compressed?: boolean | undefined; maxDuration?: number | undefined; camera?: "front" | "back" | ("front" | "back")[] | undefined; success?(data: { filePath: string; duration: number; size: number; height: number; width: number; tempFilePath: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { filePath: string; duration: number; size: number; height: number; width: number; tempFilePath: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ filePath: string; duration: number; size: number; height: number; width: number; tempFilePath: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ filePath: string; duration: number; size: number; height: number; width: number; tempFilePath: string; }>; export declare const getVideoInfo: typeof my.getVideoInfo; export declare const saveVideoToPhotosAlbum: (arg?: ({ src?: string | undefined; filePath?: string | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const createVideoContext: typeof my.createVideoContext; export declare const createInnerAudioContext: typeof my.createInnerAudioContext; export declare const onAudioInterruptionBegin: typeof my.onAudioInterruptionBegin; export declare const offAudioInterruptionBegin: typeof my.offAudioInterruptionBegin; export declare const onAudioInterruptionEnd: typeof my.onAudioInterruptionEnd; export declare const offAudioInterruptionEnd: typeof my.offAudioInterruptionEnd; export declare const getRecorderManager: typeof my.getRecorderManager; export declare const getAvailableAudioSources: (arg?: ({ success?(data: { audioSources: ("auto" | "buildInMic" | "headsetMic" | "mic" | "camcorder")[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { audioSources: ("auto" | "buildInMic" | "headsetMic" | "mic" | "camcorder")[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ audioSources: ("auto" | "buildInMic" | "headsetMic" | "mic" | "camcorder")[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ audioSources: ("auto" | "buildInMic" | "headsetMic" | "mic" | "camcorder")[]; }>; export declare const createLottieContext: typeof my.createLottieContext; export declare const createCameraContext: any; export declare const setStorage: (arg?: ({ data: unknown; key: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const setStorageSync: typeof my.setStorageSync; export declare const getStorage: (arg?: ({ key: string; success?(data: { data: any; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { data: any; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ data: any; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ data: any; }>; export declare const getStorageSync: typeof my.getStorageSync; export declare const getStorageInfo: (arg?: ({ success?(data: { keys: string[]; currentSize: number; limitSize: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { keys: string[]; currentSize: number; limitSize: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ keys: string[]; currentSize: number; limitSize: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ keys: string[]; currentSize: number; limitSize: number; }>; export declare const getStorageInfoSync: typeof my.getStorageInfoSync; export declare const removeStorage: (arg?: ({ key: string; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const removeStorageSync: typeof my.removeStorageSync; export declare const clearStorage: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const clearStorageSync: typeof my.clearStorageSync; export declare const getBackgroundFetchData: (arg?: ({ fetchType: string; success?(data: { fetchType: string; timestamp: number; fetchedData: Record; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { fetchType: string; timestamp: number; fetchedData: Record; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ fetchType: string; timestamp: number; fetchedData: Record; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ fetchType: string; timestamp: number; fetchedData: Record; }>; export declare const openDocument: (arg?: ({ filePath: string; fileType?: string | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const saveFileToDisk: (arg?: ({ apFilePath: string; filePath: string; toDisk?: boolean | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const detectFileType: (arg?: ({ filePath: string; success?(data: { type: string; extension: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { type: string; extension: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ type: string; extension: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ type: string; extension: string; }>; export declare const getFileSystemManager: typeof my.getFileSystemManager; export declare const chooseFileFromDisk: (arg?: any) => Promise; export declare const getLocation: (arg?: ({ cacheTimeout?: number | undefined; type?: EMyGetLocationType | undefined; accuracy?: number | undefined; bizType?: string | undefined; success?(data: { longitude: string; latitude: string; accuracy: string; horizontalAccuracy: string; country?: string | undefined; countryCode?: string | undefined; province?: string | undefined; provinceAdcode?: string | undefined; city?: string | undefined; cityAdcode?: string | undefined; district?: string | undefined; districtAdcode?: string | undefined; streetNumber?: my.IMyGetLocationStreetNumber | undefined; pois?: my.IMyGetLocationPois[] | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "请确认定位相关权限已开启"; } | { error: 12; errorMessage: "网络异常,请稍后再试"; } | { error: 13; errorMessage: "定位失败,请稍后再试"; } | { error: 14; errorMessage: "业务定位超时"; } | { error: 18; errorMessage: "获取到的基站与 WIFI 为空,请您打开 WIFI 开关,如已打开,建议移动到有 WIFI 的区域在发起定位"; } | { error: 2001; errorMessage: "用户拒绝给小程序授权"; } | { error: 2002; errorMessage: "保持拒绝后再触发定位"; } | { error: 2003; errorMessage: "勾选保持后再点选了拒绝"; }): void; complete?(arg: { longitude: string; latitude: string; accuracy: string; horizontalAccuracy: string; country?: string | undefined; countryCode?: string | undefined; province?: string | undefined; provinceAdcode?: string | undefined; city?: string | undefined; cityAdcode?: string | undefined; district?: string | undefined; districtAdcode?: string | undefined; streetNumber?: my.IMyGetLocationStreetNumber | undefined; pois?: my.IMyGetLocationPois[] | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "请确认定位相关权限已开启"; } | { error: 12; errorMessage: "网络异常,请稍后再试"; } | { error: 13; errorMessage: "定位失败,请稍后再试"; } | { error: 14; errorMessage: "业务定位超时"; } | { error: 18; errorMessage: "获取到的基站与 WIFI 为空,请您打开 WIFI 开关,如已打开,建议移动到有 WIFI 的区域在发起定位"; } | { error: 2001; errorMessage: "用户拒绝给小程序授权"; } | { error: 2002; errorMessage: "保持拒绝后再触发定位"; } | { error: 2003; errorMessage: "勾选保持后再点选了拒绝"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ longitude: string; latitude: string; accuracy: string; horizontalAccuracy: string; country?: string | undefined; countryCode?: string | undefined; province?: string | undefined; provinceAdcode?: string | undefined; city?: string | undefined; cityAdcode?: string | undefined; district?: string | undefined; districtAdcode?: string | undefined; streetNumber?: my.IMyGetLocationStreetNumber | undefined; pois?: my.IMyGetLocationPois[] | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "请确认定位相关权限已开启"; } | { error: 12; errorMessage: "网络异常,请稍后再试"; } | { error: 13; errorMessage: "定位失败,请稍后再试"; } | { error: 14; errorMessage: "业务定位超时"; } | { error: 18; errorMessage: "获取到的基站与 WIFI 为空,请您打开 WIFI 开关,如已打开,建议移动到有 WIFI 的区域在发起定位"; } | { error: 2001; errorMessage: "用户拒绝给小程序授权"; } | { error: 2002; errorMessage: "保持拒绝后再触发定位"; } | { error: 2003; errorMessage: "勾选保持后再点选了拒绝"; }>) | undefined) => Promise<{ longitude: string; latitude: string; accuracy: string; horizontalAccuracy: string; country?: string | undefined; countryCode?: string | undefined; province?: string | undefined; provinceAdcode?: string | undefined; city?: string | undefined; cityAdcode?: string | undefined; district?: string | undefined; districtAdcode?: string | undefined; streetNumber?: my.IMyGetLocationStreetNumber | undefined; pois?: my.IMyGetLocationPois[] | undefined; }>; export declare const getMainSelectedCity: (arg?: ({ needFullName?: boolean | undefined; success?(data: { fullName?: string | undefined; enName?: string | undefined; enDistrictName?: string | undefined; name: string; code: string; chineseMainLand: boolean; isManualSelected: boolean; settingTime: number; districtName?: string | undefined; districtCode?: string | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { fullName?: string | undefined; enName?: string | undefined; enDistrictName?: string | undefined; name: string; code: string; chineseMainLand: boolean; isManualSelected: boolean; settingTime: number; districtName?: string | undefined; districtCode?: string | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ fullName?: string | undefined; enName?: string | undefined; enDistrictName?: string | undefined; name: string; code: string; chineseMainLand: boolean; isManualSelected: boolean; settingTime: number; districtName?: string | undefined; districtCode?: string | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ fullName?: string | undefined; enName?: string | undefined; enDistrictName?: string | undefined; name: string; code: string; chineseMainLand: boolean; isManualSelected: boolean; settingTime: number; districtName?: string | undefined; districtCode?: string | undefined; }>; export declare const chooseLocation: (arg?: ({ title?: string | undefined; showTab?: boolean | undefined; latitude?: number | undefined; longitude?: number | undefined; success?(data: { name: string; address: string; longitude: string; latitude: string; provinceName: string; cityName: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { name: string; address: string; longitude: string; latitude: string; provinceName: string; cityName: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ name: string; address: string; longitude: string; latitude: string; provinceName: string; cityName: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ name: string; address: string; longitude: string; latitude: string; provinceName: string; cityName: string; }>; export declare const openLocation: (arg?: ({ longitude: string; latitude: string; name: string; address: string; scale?: number | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const request: (arg?: ({ url: string; dataType?: "text" | "base64" | "json" | "arraybuffer" | undefined; method?: "GET" | "POST" | "PUT" | "DELETE" | "OPTIONS" | "HEAD" | "TRACE" | "CONNECT" | undefined; data?: string | Record | ArrayBuffer | undefined; headers?: Record | undefined; header?: Record | undefined; timeout?: number | undefined; referrerStrategy?: string | undefined; success?(data: { data: string | Record | ArrayBuffer; status: number; headers: Record; statusCode: number; header: Record; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 19; errorMessage: "http status error"; } | { error: 14; errorMessage: "parse arraybuffer data error"; } | { error: 14; errorMessage: "JSON parse data error"; }): void; complete?(arg: { data: string | Record | ArrayBuffer; status: number; headers: Record; statusCode: number; header: Record; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 19; errorMessage: "http status error"; } | { error: 14; errorMessage: "parse arraybuffer data error"; } | { error: 14; errorMessage: "JSON parse data error"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ data: string | Record | ArrayBuffer; status: number; headers: Record; statusCode: number; header: Record; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 19; errorMessage: "http status error"; } | { error: 14; errorMessage: "parse arraybuffer data error"; } | { error: 14; errorMessage: "JSON parse data error"; }>) | undefined) => Promise<{ data: string | Record | ArrayBuffer; status: number; headers: Record; statusCode: number; header: Record; }>; export declare const uploadFile: (arg?: ({ url: string; filePath: string; name: string; fileType: string; hideLoading?: boolean | undefined; header?: Record | undefined; headers?: Record | undefined; formData?: Record | undefined; fileName?: string | undefined; success?(data: { data: string; statusCode: number; header: Record; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage?: string | undefined; }): void; complete?(arg: { data: string; statusCode: number; header: Record; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ data: string; statusCode: number; header: Record; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage?: string | undefined; }>) | undefined) => Promise<{ data: string; statusCode: number; header: Record; }>; export declare const downloadFile: (arg?: ({ url: string; header?: Record | undefined; success?(data: { apFilePath: string; tempFilePath: string; headers: Record; header: Record; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 12; errorMessage: "下载失败"; } | { error: 13; errorMessage: "没有权限"; } | { error: 20; errorMessage: "请求的 URL 不支持 HTTP"; }): void; complete?(arg: { apFilePath: string; tempFilePath: string; headers: Record; header: Record; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 12; errorMessage: "下载失败"; } | { error: 13; errorMessage: "没有权限"; } | { error: 20; errorMessage: "请求的 URL 不支持 HTTP"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ apFilePath: string; tempFilePath: string; headers: Record; header: Record; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 12; errorMessage: "下载失败"; } | { error: 13; errorMessage: "没有权限"; } | { error: 20; errorMessage: "请求的 URL 不支持 HTTP"; }>) | undefined) => Promise<{ apFilePath: string; tempFilePath: string; headers: Record; header: Record; }>; export declare const connectSocket: (arg?: ({ multiple?: boolean | undefined; url: string; data?: Record | undefined; header?: Record | undefined; protocols?: string[] | undefined; } & import("@rsmax/framework-shared").PromisifyArgs) | undefined) => Promise; export declare const closeSocket: (arg?: ({ code?: number | undefined; reason?: string | undefined; success?(data: { message: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { message: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ message: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ message: string; }>; export declare const sendSocketMessage: (arg?: ({ data: string; isBuffer?: boolean | undefined; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const onSocketOpen: typeof my.onSocketOpen; export declare const offSocketOpen: typeof my.offSocketOpen; export declare const onSocketMessage: typeof my.onSocketMessage; export declare const offSocketMessage: typeof my.offSocketMessage; export declare const onSocketError: typeof my.onSocketError; export declare const offSocketError: typeof my.offSocketError; export declare const onSocketClose: typeof my.onSocketClose; export declare const offSocketClose: typeof my.offSocketClose; export declare const getSystemInfo: (arg?: ({ includeNotification?: boolean | undefined; includeBluetooth?: boolean | undefined; success?(data: my.ITypeSystemInfo): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: my.ITypeSystemInfo | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs) | undefined) => Promise; export declare const getSystemInfoSync: typeof my.getSystemInfoSync; export declare const getDeviceBaseInfo: any; export declare const getSystemSetting: typeof my.getSystemSetting; export declare const getWindowInfo: typeof my.getWindowInfo; export declare const getAppBaseInfo: typeof my.getAppBaseInfo; export declare const getAppAuthorizeSetting: typeof my.getAppAuthorizeSetting; export declare const getNetworkType: (arg?: ({ success?(data: { networkAvailable: boolean; networkType: "UNKNOWN" | "NOTREACHABLE" | "WIFI" | "3G" | "2G" | "4G" | "WWAN"; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { networkAvailable: boolean; networkType: "UNKNOWN" | "NOTREACHABLE" | "WIFI" | "3G" | "2G" | "4G" | "WWAN"; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ networkAvailable: boolean; networkType: "UNKNOWN" | "NOTREACHABLE" | "WIFI" | "3G" | "2G" | "4G" | "WWAN"; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ networkAvailable: boolean; networkType: "UNKNOWN" | "NOTREACHABLE" | "WIFI" | "3G" | "2G" | "4G" | "WWAN"; }>; export declare const onNetworkStatusChange: typeof my.onNetworkStatusChange; export declare const offNetworkStatusChange: typeof my.offNetworkStatusChange; export declare const setVisualEffectOnCapture: (arg?: ({ visualEffect: "none" | "hidden"; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 2; errorMessage: "visualEffect 只能为 hidden 或 none"; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 2; errorMessage: "visualEffect 只能为 hidden 或 none"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 2; errorMessage: "visualEffect 只能为 hidden 或 none"; }>) | undefined) => Promise<{}>; export declare const getClipboard: (arg?: ({ success?(data: { text: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { text: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ text: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ text: string; }>; export declare const setClipboard: (arg?: ({ text: string; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const watchShake: (arg?: ({ monitorAccelerometer?: boolean | undefined; monitorCompass?: boolean | undefined; monitorGyroscope?: boolean | undefined; interval?: number | undefined; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const vibrate: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const vibrateLong: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const vibrateShort: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const startAccelerometer: (arg?: ({ interval?: "normal" | "game" | "ui" | undefined; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const stopAccelerometer: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const onAccelerometerChange: typeof my.onAccelerometerChange; export declare const offAccelerometerChange: typeof my.offAccelerometerChange; export declare const startGyroscope: (arg?: ({ interval?: "normal" | "game" | "ui" | undefined; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const stopGyroscope: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const onGyroscopeChange: typeof my.onGyroscopeChange; export declare const offGyroscopeChange: typeof my.offGyroscopeChange; export declare const startCompass: (arg?: ({ interval?: "normal" | "game" | "ui" | undefined; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const stopCompass: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const onCompassChange: typeof my.onCompassChange; export declare const offCompassChange: typeof my.offCompassChange; export declare const startDeviceMotionListening: (arg?: any) => Promise; export declare const stopDeviceMotionListening: (arg?: any) => Promise; export declare const onDeviceMotionChange: typeof my.onDeviceMotionChange; export declare const offDeviceMotionChange: typeof my.offDeviceMotionChange; export declare const makePhoneCall: (arg?: ({ number: string; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const getServerTime: (arg?: ({ success?(data: { time: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { time: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ time: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ time: number; }>; export declare const onUserCaptureScreen: typeof my.onUserCaptureScreen; export declare const offUserCaptureScreen: typeof my.offUserCaptureScreen; export declare const getScreenBrightness: (arg?: ({ success?(data: { success: true; brightness: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; brightness: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; brightness: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; brightness: number; }>; export declare const setScreenBrightness: (arg?: ({ brightness: number; success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const setKeepScreenOn: (arg?: ({ keepScreenOn?: boolean | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const getSetting: (arg?: ({ success?(data: { authSetting: my.IGetSettingAuthSetting; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { authSetting: my.IGetSettingAuthSetting; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ authSetting: my.IGetSettingAuthSetting; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ authSetting: my.IGetSettingAuthSetting; }>; export declare const openSetting: (arg?: ({ success?(data: { authSetting: my.IOpenSettingAuthSetting; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { authSetting: my.IOpenSettingAuthSetting; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ authSetting: my.IOpenSettingAuthSetting; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ authSetting: my.IOpenSettingAuthSetting; }>; export declare const addPhoneContact: (arg?: ({ lastName?: string | undefined; middleName?: string | undefined; firstName?: string | undefined; nickName?: string | undefined; remark?: string | undefined; mobilePhoneNumber?: string | undefined; workFaxNumber?: string | undefined; workPhoneNumber?: string | undefined; hostNumber?: string | undefined; homeFaxNumber?: string | undefined; homePhoneNumber?: string | undefined; weChatNumber?: string | undefined; alipayAccount?: string | undefined; organization?: string | undefined; title?: string | undefined; email?: string | undefined; url?: string | undefined; addressCountry?: string | undefined; addressState?: string | undefined; addressCity?: string | undefined; addressStreet?: string | undefined; addressPostalCode?: string | undefined; workCountry?: string | undefined; workState?: string | undefined; workCity?: string | undefined; workStreet?: string | undefined; workPostalCode?: string | undefined; homeCountry?: string | undefined; homeState?: string | undefined; homeCity?: string | undefined; homeStreet?: string | undefined; homePostalCode?: string | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const isScreenReaderEnabled: (arg?: ({ success?(data: { screenReaderEnabled: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { screenReaderEnabled: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ screenReaderEnabled: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ screenReaderEnabled: boolean; }>; export declare const showAuthGuide: (arg?: ({ authType: "BLUETOOTH" | "BACKGROUNDER" | "SHORTCUT" | "NOTIFICATION" | "SELFSTARTING" | "STORAGE" | "MICROPHONE" | "ADDRESSBOOK" | "CAMERA" | "PHOTO" | "LBSSERVICE" | "LBS" | "LBSHIGHACCURACY"; success?(data: { shown: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { shown: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ shown: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ shown: boolean; }>; export declare const scan: (arg?: ({ scanType?: ("qrCode" | "barCode" | "dmCode" | "pdf417Code" | "narrowCode" | "hmCode")[] | undefined; hideAlbum?: boolean | undefined; onlyFromCamera?: boolean | undefined; actionType?: "scan" | "route" | "scanAndRoute" | "scanAndRpc" | undefined; needPath?: boolean | undefined; success?(data: { code: string; barCode?: string | undefined; qrCode?: string | undefined; rawData: string; imageChannel: string; result: string; scanType: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { code: string; barCode?: string | undefined; qrCode?: string | undefined; rawData: string; imageChannel: string; result: string; scanType: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ code: string; barCode?: string | undefined; qrCode?: string | undefined; rawData: string; imageChannel: string; result: string; scanType: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ code: string; barCode?: string | undefined; qrCode?: string | undefined; rawData: string; imageChannel: string; result: string; scanType: string; }>; export declare const onMemoryWarning: typeof my.onMemoryWarning; export declare const offMemoryWarning: typeof my.offMemoryWarning; export declare const getBatteryInfo: (arg?: ({ success?(data: { level: number; isCharging: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { level: number; isCharging: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ level: number; isCharging: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ level: number; isCharging: boolean; }>; export declare const getBatteryInfoSync: typeof my.getBatteryInfoSync; export declare const onBLEConnectionStateChanged: typeof my.onBLEConnectionStateChanged; export declare const offBLEConnectionStateChanged: typeof my.offBLEConnectionStateChanged; export declare const getBLEDeviceServices: (arg?: ({ deviceId: string; success?(data: { services: my.IGetBLEDeviceServicesServices[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { services: my.IGetBLEDeviceServicesServices[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ services: my.IGetBLEDeviceServicesServices[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ services: my.IGetBLEDeviceServicesServices[]; }>; export declare const connectBLEDevice: (arg?: ({ deviceId: string; timeout?: number | undefined; success?(data: { error: string; errorMessage: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error: string; errorMessage: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ error: string; errorMessage: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ error: string; errorMessage: string; }>; export declare const disconnectBLEDevice: (arg?: ({ deviceId: string; success?(data: { errorCode: string; errorMessage: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { errorCode: string; errorMessage: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ errorCode: string; errorMessage: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ errorCode: string; errorMessage: string; }>; export declare const getBLEDeviceCharacteristics: (arg?: ({ deviceId: string; serviceId: string; success?(data: { characteristics: my.ITypeBLECharacteristic[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { characteristics: my.ITypeBLECharacteristic[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ characteristics: my.ITypeBLECharacteristic[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ characteristics: my.ITypeBLECharacteristic[]; }>; export declare const setBLEMTU: (arg?: ({ deviceId: string; mtu: number; success?(data: { success: true; mtu: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; mtu: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; mtu: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; mtu: number; }>; export declare const getBLEMTU: (arg?: ({ deviceId: string; success?(data: { mtu: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { mtu: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ mtu: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ mtu: number; }>; export declare const notifyBLECharacteristicValueChange: (arg?: ({ deviceId: string; serviceId: string; characteristicId: string; descriptorId?: string | undefined; state?: boolean | undefined; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const onBLECharacteristicValueChange: typeof my.onBLECharacteristicValueChange; export declare const offBLECharacteristicValueChange: typeof my.offBLECharacteristicValueChange; export declare const writeBLECharacteristicValue: (arg?: ({ deviceId: string; serviceId: string; characteristicId: string; value: string; success?(data: { errorCode: string; errorMessage: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { errorCode: string; errorMessage: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ errorCode: string; errorMessage: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ errorCode: string; errorMessage: string; }>; export declare const readBLECharacteristicValue: (arg?: ({ deviceId: string; serviceId: string; characteristicId: string; success?(data: { characteristic: my.ITypeBLECharacteristic; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { characteristic: my.ITypeBLECharacteristic; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ characteristic: my.ITypeBLECharacteristic; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ characteristic: my.ITypeBLECharacteristic; }>; export declare const getBLEDeviceRSSI: (arg?: ({ deviceId: string; success?(data: { RSSI: number; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { RSSI: number; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ RSSI: number; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ RSSI: number; }>; export declare const getBLEDeviceStatus: (arg?: ({ sysAlert?: boolean | undefined; success?(data: { authStatus: EGetBLEDeviceStatusAuthStatus; powerStatus: EGetBLEDeviceStatusPowerStatus; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { authStatus: EGetBLEDeviceStatusAuthStatus; powerStatus: EGetBLEDeviceStatusPowerStatus; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ authStatus: EGetBLEDeviceStatusAuthStatus; powerStatus: EGetBLEDeviceStatusPowerStatus; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ authStatus: EGetBLEDeviceStatusAuthStatus; powerStatus: EGetBLEDeviceStatusPowerStatus; }>; export declare const openBluetoothAdapter: (arg?: ({ autoClose?: boolean | undefined; success?(data: { isSupportBLE: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { isSupportBLE: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ isSupportBLE: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ isSupportBLE: boolean; }>; export declare const closeBluetoothAdapter: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const getBluetoothAdapterState: (arg?: ({ success?(data: { discovering: boolean; available: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { discovering: boolean; available: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ discovering: boolean; available: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ discovering: boolean; available: boolean; }>; export declare const onBluetoothAdapterStateChange: typeof my.onBluetoothAdapterStateChange; export declare const offBluetoothAdapterStateChange: typeof my.offBluetoothAdapterStateChange; export declare const onBluetoothDeviceFound: typeof my.onBluetoothDeviceFound; export declare const offBluetoothDeviceFound: typeof my.offBluetoothDeviceFound; export declare const startBluetoothDevicesDiscovery: (arg?: ({ includeClassic?: boolean | undefined; deviceIds?: string[] | undefined; deviceNames?: string[] | undefined; allowDuplicatesKey?: boolean | undefined; interval?: number | undefined; services: string[]; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const stopBluetoothDevicesDiscovery: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const getBluetoothDevices: (arg?: ({ success?(data: { devices: my.ITypeBluetoothDevice[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { devices: my.ITypeBluetoothDevice[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ devices: my.ITypeBluetoothDevice[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ devices: my.ITypeBluetoothDevice[]; }>; export declare const getConnectedBluetoothDevices: (arg?: ({ success?(data: { devices: my.ITypeBluetoothDevice[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { devices: my.ITypeBluetoothDevice[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ devices: my.ITypeBluetoothDevice[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ devices: my.ITypeBluetoothDevice[]; }>; export declare const makeBluetoothPair: (arg?: ({ deviceId: string; pin: string; timeout?: number | undefined; success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const getBluetoothPairs: (arg?: ({ success?(data: { devices: my.ITypeBluetoothDevice[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { devices: my.ITypeBluetoothDevice[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ devices: my.ITypeBluetoothDevice[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ devices: my.ITypeBluetoothDevice[]; }>; export declare const cancelBluetoothPair: (arg?: ({ deviceId: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const getBeacons: (arg?: ({ success?(data: { beacons: my.IGetBeaconsBeacons[]; errCode: string; errorMsg: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { beacons: my.IGetBeaconsBeacons[]; errCode: string; errorMsg: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ beacons: my.IGetBeaconsBeacons[]; errCode: string; errorMsg: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ beacons: my.IGetBeaconsBeacons[]; errCode: string; errorMsg: string; }>; export declare const startBeaconDiscovery: (arg?: ({ uuids: string[]; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const stopBeaconDiscovery: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const onBeaconUpdate: typeof my.onBeaconUpdate; export declare const offBeaconUpdate: typeof my.offBeaconUpdate; export declare const onBeaconServiceChange: typeof my.onBeaconServiceChange; export declare const offBeaconServiceChange: typeof my.offBeaconServiceChange; export declare const startWifi: (arg?: ({ success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const stopWifi: (arg?: ({ success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const connectWifi: (arg?: ({ SSID?: string | undefined; BSSID?: string | undefined; maunal?: boolean | undefined; isWEP?: boolean | undefined; password?: string | undefined; success?(data: { success: true; error: string; errorMessage: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; error: string; errorMessage: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; error: string; errorMessage: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; error: string; errorMessage: string; }>; export declare const getWifiList: (arg?: ({ success?(data: { success: boolean; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: boolean; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: boolean; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: boolean; }>; export declare const onWifiConnected: typeof my.onWifiConnected; export declare const offWifiConnected: typeof my.offWifiConnected; export declare const onGetWifiList: typeof my.onGetWifiList; export declare const offGetWifiList: typeof my.offGetWifiList; export declare const getConnectedWifi: (arg?: ({ success?(data: { success: true; wifi: my.IGetConnectedWifiWifi; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; wifi: my.IGetConnectedWifiWifi; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; wifi: my.IGetConnectedWifiWifi; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; wifi: my.IGetConnectedWifiWifi; }>; export declare const sendSms: (arg?: any) => Promise; export declare const createWorker: typeof my.createWorker; export declare const rsa: (arg?: ({ action: "encrypt" | "decrypt"; text: string; key: string; success?(data: { text: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { text: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ text: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ text: string; }>; export declare const showSharePanel: typeof my.showSharePanel; export declare const hideShareMenu: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const showShareMenu: (arg?: ({ success?(data: { error?: number | undefined; success?: boolean | undefined; errorMessage?: string | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; success?: boolean | undefined; errorMessage?: string | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ error?: number | undefined; success?: boolean | undefined; errorMessage?: string | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ error?: number | undefined; success?: boolean | undefined; errorMessage?: string | undefined; }>; export declare const isCollected: (arg?: any) => Promise; export declare const hideAddToDesktopMenu: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const hideAllAddToDesktopMenu: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const getUpdateManager: typeof my.getUpdateManager; export declare const createWebViewContext: typeof my.createWebViewContext; export declare const updateAlipayClient: (arg?: ({ success?(data: { success: true; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success: true; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success: true; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success: true; }>; export declare const requirePrivacyAuthorize: (arg?: any) => Promise; export declare const openPrivacyContract: (arg?: any) => Promise; export declare const onNeedPrivacyAuthorization: any; export declare const getPrivacySetting: (arg?: any) => Promise; export declare const createRewardedAd: typeof my.createRewardedAd; export declare const createInterstitialAd: any; /** * 开放能力 API */ export declare const tradePay: (arg?: ({ tradeNO?: string | undefined; orderStr?: string | undefined; success?(data: { resultCode: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { resultCode: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ resultCode: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ resultCode: string; }>; export declare const getAuthCode: (arg?: ({ scopes?: string | string[] | undefined; success?(data: { authCode: string; authErrorScopes: my.IMyApGetAuthCodeAuthErrorScopes; authSuccessScopes: ("auth_base" | "auth_user" | "auth_zhima" | "order_service" | "trip_ticket" | "ride_hailing" | "charging_pile" | "ptjob_order_sync" | "indr_order_sync" | "car_rental_auth" | "hospital_order" | "consumer_finance")[]; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { authCode: string; authErrorScopes: my.IMyApGetAuthCodeAuthErrorScopes; authSuccessScopes: ("auth_base" | "auth_user" | "auth_zhima" | "order_service" | "trip_ticket" | "ride_hailing" | "charging_pile" | "ptjob_order_sync" | "indr_order_sync" | "car_rental_auth" | "hospital_order" | "consumer_finance")[]; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ authCode: string; authErrorScopes: my.IMyApGetAuthCodeAuthErrorScopes; authSuccessScopes: ("auth_base" | "auth_user" | "auth_zhima" | "order_service" | "trip_ticket" | "ride_hailing" | "charging_pile" | "ptjob_order_sync" | "indr_order_sync" | "car_rental_auth" | "hospital_order" | "consumer_finance")[]; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ authCode: string; authErrorScopes: my.IMyApGetAuthCodeAuthErrorScopes; authSuccessScopes: ("auth_base" | "auth_user" | "auth_zhima" | "order_service" | "trip_ticket" | "ride_hailing" | "charging_pile" | "ptjob_order_sync" | "indr_order_sync" | "car_rental_auth" | "hospital_order" | "consumer_finance")[]; }>; export declare const getOpenUserInfo: (arg?: ({ protocols?: my.IMyGetOpenUserInfoProtocols | undefined; success?(data: { response: string; avatar: string; code: string; nickName: string; msg: string; subMsg: string; subCode: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { response: string; avatar: string; code: string; nickName: string; msg: string; subMsg: string; subCode: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ response: string; avatar: string; code: string; nickName: string; msg: string; subMsg: string; subCode: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ response: string; avatar: string; code: string; nickName: string; msg: string; subMsg: string; subCode: string; }>; export declare const getAddress: (arg?: ({ success?(data: { resultStatus: "6001"; result: ""; } | { resultStatus: "9000"; result: my.IMyApGetAddressResult; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 4; errorMessage: "无权调用该接口"; }): void; complete?(arg: { resultStatus: "6001"; result: ""; } | { resultStatus: "9000"; result: my.IMyApGetAddressResult; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 4; errorMessage: "无权调用该接口"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ resultStatus: "6001"; result: ""; } | { resultStatus: "9000"; result: my.IMyApGetAddressResult; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 4; errorMessage: "无权调用该接口"; }>) | undefined) => Promise<{ resultStatus: "6001"; result: ""; } | { resultStatus: "9000"; result: my.IMyApGetAddressResult; }>; export declare const getPhoneNumber: (arg?: ({ protocols?: my.IMyGetPhoneNumberProtocols | undefined; success?(data: { response: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { response: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ response: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ response: string; }>; export declare const paySignCenter: (arg?: ({ signStr: string; success?(data: { result: string; resultStatus: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { result: string; resultStatus: string; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ result: string; resultStatus: string; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ result: string; resultStatus: string; }>; export declare const openCardList: (arg?: any) => Promise; export declare const openCardDetail: (arg?: any) => Promise; export declare const openMerchantCardList: (arg?: any) => Promise; export declare const openMerchantCard: (arg?: any) => Promise; export declare const requestSubscribeMessage: (arg?: ({ appId?: string | undefined; aboveContent?: boolean | undefined; entityIds: string[]; thirdTypeAppId?: string | undefined; sceneCode?: string | undefined; relatedOwnerId?: string | undefined; extInfo?: my.IMyRequestSubscribeMessageExtInfo | undefined; success?(data: { [entityId: string]: unknown; behavior: "" | "cancel" | "subscribe"; show: boolean; keep: boolean; refuse: boolean; errorCode?: number | undefined; errorMessage?: string | undefined; result?: my.IMyRequestSubscribeMessageResult | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { [entityId: string]: unknown; behavior: "" | "cancel" | "subscribe"; show: boolean; keep: boolean; refuse: boolean; errorCode?: number | undefined; errorMessage?: string | undefined; result?: my.IMyRequestSubscribeMessageResult | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ [entityId: string]: unknown; behavior: "" | "cancel" | "subscribe"; show: boolean; keep: boolean; refuse: boolean; errorCode?: number | undefined; errorMessage?: string | undefined; result?: my.IMyRequestSubscribeMessageResult | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ [entityId: string]: unknown; behavior: "" | "cancel" | "subscribe"; show: boolean; keep: boolean; refuse: boolean; errorCode?: number | undefined; errorMessage?: string | undefined; result?: my.IMyRequestSubscribeMessageResult | undefined; }>; export declare const unsubscribeMessage: (arg?: ({ entityIds: string[]; success?(data: { success?: boolean | undefined; error?: number | undefined; errorMessage?: string | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { success?: boolean | undefined; error?: number | undefined; errorMessage?: string | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ success?: boolean | undefined; error?: number | undefined; errorMessage?: string | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ success?: boolean | undefined; error?: number | undefined; errorMessage?: string | undefined; }>; export declare const getExtConfigSync: typeof my.getExtConfigSync; export declare const getExtConfig: (arg?: ({ success?(data: { data: Record; extConfig?: Record | undefined; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { data: Record; extConfig?: Record | undefined; } | { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ data: Record; extConfig?: Record | undefined; }, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{ data: Record; extConfig?: Record | undefined; }>; export declare const openVoucherList: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openMerchantVoucherList: (arg?: ({ partnerId: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openVoucherDetail: (arg?: ({ partnerId: string; serialNumber: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openKBVoucherDetail: (arg?: ({ partnerId: string; serialNumber: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openTicketList: (arg?: ({ success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openMerchantTicketList: (arg?: ({ partnerId: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const openTicketDetail: (arg?: ({ partnerId: string; serialNumber: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>; export declare const checkBeforeAddOrder: (arg?: ({ outItemList?: my.IMyCheckBeforeAddOrderOutItemList[] | undefined; success?(data: { requireOrder: number; sourceId: string; sceneId: string; }): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "服务异常请重试"; }): void; complete?(arg: { requireOrder: number; sourceId: string; sceneId: string; } | { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "服务异常请重试"; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{ requireOrder: number; sourceId: string; sceneId: string; }, { error?: number | undefined; errorMessage?: string | undefined; } | { error: 11; errorMessage: "服务异常请重试"; }>) | undefined) => Promise<{ requireOrder: number; sourceId: string; sceneId: string; }>; export declare const prepareUseCertificate: (arg?: ({ certificateId: string; success?(data: {}): void; fail?(err: { error?: number | undefined; errorMessage?: string | undefined; }): void; complete?(arg: { error?: number | undefined; errorMessage?: string | undefined; }): void; } & import("@rsmax/framework-shared").PromisifyArgs<{}, { error?: number | undefined; errorMessage?: string | undefined; }>) | undefined) => Promise<{}>;