/**
 * 构建交互类
 * v 1.0.97
 * 作者：Yoyo，星辰
 * 介绍：交互式App 依赖库
 * 修复：不存在的api解析报错
 */
interface AndroidInterface {
    asyncJavaPrompt(ID: string, configJson: string, data: string): boolean;
    asyncTaskPrompt(ID: string, k: string, args: string): void;
}
declare global {
    interface Window {
        Android?: AndroidInterface;
        asyncJsPrompt?: (ID: string, data: string, plan: number) => boolean;
        asyncJsEventEmit?: (eventName: string, data: string) => boolean;
    }
}
declare class EventEmitter {
    #private;
    constructor();
    on(eventName: string, listener: Function): void;
    once(eventName: string, listener: Function): void;
    off(eventName: string, listener: Function): void;
    emit(eventName: string, ...args: any[]): void;
}
export declare const app: any;
export declare const eventEmitter: EventEmitter;
export {};
