import { EmitEventType } from '../../plugin/types';
import { BaseMsgMethodForWorker } from './baseForWorker';
import { IWorkerMessage } from '../types';
import type { WorkThreadEngineForFullWorker } from '../worker/workerManager';
export type MsgMethodForWorker<T extends BaseMsgMethodForWorker> = T;
export declare class MethodBuilderWorker {
    builders: Map<EmitEventType, MsgMethodForWorker<BaseMsgMethodForWorker> | undefined>;
    constructor(emitTypes: EmitEventType[]);
    build(type: EmitEventType): MsgMethodForWorker<BaseMsgMethodForWorker> | undefined;
    registerForWorker(threadEngine: WorkThreadEngineForFullWorker): this;
    consumeForWorker(data: IWorkerMessage): boolean;
}
