import { Draw } from '@hufe921/canvas-editor/dist/src/editor/core/draw/Draw';
import { ICatalog } from '../../interface/Catalog';

export declare class WorkerManager {
    private draw;
    private wordCountWorker;
    private catalogWorker;
    private groupWorker;
    constructor(draw: Draw);
    getWordCount(): Promise<number>;
    getCatalog(): Promise<ICatalog | null>;
    getGroupIds(): Promise<string[]>;
}
