import { IActiveToolsDataType, IMainMessage, IMainMessageRenderData, IWorkerMessage } from "../index";
import { ISubWorkerInitOption } from "./base";
import { LocalWorkForFullWorker } from "./fullWorkerLocal";
import { ServiceWorkForFullWorker } from "./fullWorkerService";
import { SelectorShape, BitMapEraserShape, ArrowShape, ImageShape } from "../tools";
import { PencilEraserShape } from "../tools/pencilEraser";
import { TextShape } from "../tools/text";
/** 本地绘制worker 的实现 */
export declare class LocalWorkForSimpleWorker extends LocalWorkForFullWorker {
    protected _type: string;
    constructor(opt: ISubWorkerInitOption);
    createWorkShapeNode(opt: IActiveToolsDataType & {
        workId: string;
    }): ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | TextShape | import("../tools").LaserPenShape | import("../tools").EraserShape | PencilEraserShape | BitMapEraserShape | SelectorShape | ImageShape | undefined;
    protected drawPencil(res: IMainMessage, workId?: string): Promise<void>;
    protected drawShape(res: IMainMessage): Promise<void>;
    protected drawSelector(res: IMainMessage, isLockSentEventCursor?: boolean, render?: IMainMessageRenderData[]): Promise<void>;
    protected drawEraserCombine(workId: string): Promise<void>;
    consumeDraw(data: IWorkerMessage, serviceWork: ServiceWorkForFullWorker): Promise<void>;
    consumeDrawAll(data: IWorkerMessage, serviceWork: ServiceWorkForFullWorker): Promise<void>;
}
/** 服务端同步数据绘制worker 的实现 */
export declare class ServiceWorkForSimpleWorker extends ServiceWorkForFullWorker {
    readonly _type = "simple";
    constructor(opt: ISubWorkerInitOption);
    protected animationDraw(): Promise<void>;
}
