export interface MessageData {
    type: string;
    data: any;
    uuid: string;
}
export declare class Messager {
    private worker;
    private records;
    constructor(worker: Worker);
    onMessage(e: MessageEvent): void;
    send(type: string, data: any): Promise<unknown>;
    dispose(): void;
}
