import type { PermissionState, PluginListenerHandle } from '@capacitor/core'; export declare type PermissionStatus = { canRequestPackageInstalls: PermissionState; }; export declare type InstallStatus = { success: boolean; error?: string; }; export interface JustWeiApkUpdaterPlugin { checkPermissions(): Promise; requestPermissions(): Promise; openInstallSetting(): Promise; install(options: { apkPath: string; }): Promise; addInstallListener(listenerFunc: (status: InstallStatus) => void): Promise & PluginListenerHandle; removeAllListeners(): Promise; openSetting(options: { action: string; }): Promise; openMarket(options?: { packageName: string; }): Promise; }