import { GraphicNode } from "../../graphics";
import type { OolongLine } from "../../graphics";
import { AppEventContext } from "../../app";
import { AbsLineLayoutHandler } from "./handler/AbsLineLayoutHandler";
import { IPoint } from "../../idl";
import { BatchLineTextWorker } from "./BatchLineTextWorker";
export declare class LayoutWorker {
    handlers: AbsLineLayoutHandler[];
    batchLineTextWorker: BatchLineTextWorker;
    work(lines: OolongLine[], ctx: AppEventContext, streaming: boolean): void;
    layoutToPoints(line: OolongLine, ctx: AppEventContext): IPoint[];
    handleAndMsg(line: OolongLine, ctx: AppEventContext, streaming: boolean): void;
    batchCollectNodeLinks(nodes: GraphicNode[], ctx: AppEventContext, linkLines: Set<OolongLine>): void;
    collectNodeLinks(node: GraphicNode, ctx: AppEventContext, res: Set<OolongLine>, containerSet?: Set<GraphicNode>): void;
    private judgeEndNode;
}
//# sourceMappingURL=LayoutWorker.d.ts.map