import { EmitEventType } from "../../plugin/types";
import { IWorkerMessage } from "../types";
import { LocalWorkForFullWorker } from "../worker/fullWorkerLocal";
import { ServiceWorkForFullWorker } from "../worker/fullWorkerService";
import type { WorkThreadEngineForFullWorker } from "../worker/workerManager";
export declare abstract class BaseMsgMethodForWorker {
    abstract readonly emitEventType: EmitEventType;
    localWork: LocalWorkForFullWorker | undefined;
    serviceWork: ServiceWorkForFullWorker | undefined;
    threadEngine: WorkThreadEngineForFullWorker | undefined;
    registerForWorker(threadEngine: WorkThreadEngineForFullWorker): this;
    abstract consume(data: IWorkerMessage): boolean | undefined;
}
