import type { BmtModelData } from "../Loaders/BmtLoader";
import type { BmtWorkerGeometryChunk, BmtWorkerLoadOptions } from "./BMTWorker";
import type { WorkerProgressEvent } from "./ProgressUtils";
export type BmtWorkerModelSource = ArrayBuffer | File | string;
export type BmtWorkerClientOptions = BmtWorkerLoadOptions & {
    collectChunks?: boolean;
    onChunk?: (chunk: BmtWorkerGeometryChunk) => void;
    onProgress?: (progress: WorkerProgressEvent) => void;
    terminateOnComplete?: boolean;
    worker?: Worker;
};
export type BmtWorkerLoadedModels = Record<number, BmtModelData>;
export declare function loadBmtModelsInWorker(sources: BmtWorkerModelSource | BmtWorkerModelSource[], options?: BmtWorkerClientOptions): Promise<BmtWorkerLoadedModels>;
export declare function createBmtWorker(): Worker;
