export interface DownloaderInterface { __isReady?: boolean; __data?: DownAppParams; run: (url?: string) => void; getNetworkType: (callback?: (type: NetWorkType) => void) => Promise; checkAppIsInstalled: (callback?: (isInstalled: boolean) => void) => Promise; openApp: (url?: string) => void; download: () => void; } export interface DownAppParams { openUrl: string; packageName: string; downloadUrl: string; wxAppId: string; appleStoreId: string; appName: string; downLogo: string; developer?: string; appVersion?: string; privacyUrl?: string; permissionUrl?: string; } export declare type NetWorkType = "none" | "wwan" | "wifi"; export default DownloaderInterface;