import { WorkerThreadPool } from "./base/worker-pool";
interface GraphLayoutOptions {
    width?: number;
    height?: number;
    iterations?: number;
    seed?: number;
    boundaryShape?: "rectangular" | "circular";
}
interface GraphEdge {
    id: string;
    source: string;
    target: string;
    type: string;
}
export declare class GraphLayoutWorker {
    workerPool: WorkerThreadPool;
    constructor();
    computeLayout(nodes: Array<{
        id: string;
        label: string;
        group?: string;
    }>, edges: GraphEdge[], options?: GraphLayoutOptions, onComplete?: (positions: {
        [key: string]: {
            x: number;
            y: number;
        };
    }) => void): void;
    dispose(): void;
}
export {};
