export interface Task {
    fn: () => Promise<any>;
}
export declare class WebAssemblyQueue {
    private executing;
    private queue;
    exec<T>(fn: (...args: any[]) => any, scope: any, ...args: any[]): Promise<T>;
    private execNextTask;
}
