export interface CallappConfig> { path: string; param?: Params; callback?: () => void; } export interface CallappOptions { scheme: { protocol: string; host?: string; port?: string | number; }; outChain?: { protocol: string; path: string; key: string; }; intent?: Intent; universal?: { host: string; pathKey?: string; }; appstore: string; yingyongbao?: string; isSupportWeibo?: boolean; fallback: string; timeout?: number; logFunc?: (status: 'pending' | 'failure') => void; buildScheme?: (config: CallappConfig, options: CallappOptions) => string; } export interface Intent { package: string; scheme: string; action?: string; category?: string; component?: string; } export declare type Hidden = 'hidden' | 'webkitHidden' | 'msHidden' | undefined; export declare type VisibilityChange = 'visibilitychange' | 'webkitvisibilitychange' | 'msvisibilitychange' | undefined;