import { WebPlugin } from '@capacitor/core'; import type { PluginListenerHandle } from '@capacitor/core'; import type { JustWeiApkUpdaterPlugin, PermissionStatus, InstallStatus } from './definitions'; export declare class JustWeiApkUpdaterWeb extends WebPlugin implements JustWeiApkUpdaterPlugin { openMarket(options?: { packageName: string; }): Promise; checkPermissions(): Promise; requestPermissions(): Promise; openInstallSetting(): Promise; install(options: { apkPath: string; }): Promise; addInstallListener(listenerFunc: (status: InstallStatus) => void): Promise & PluginListenerHandle; removeAllListeners(): Promise; /** * 打开指定的设置页面 * @description Web平台不支持打开设置页面,因此直接抛出不可用异常 * @param options 包含要打开的设置页面的操作名称 */ openSetting(options: { action: string; }): Promise; }