export type WorkerProgressPhase = "queued" | "reading" | "fetching" | "initializing" | "opening" | "parsing" | "properties" | "exporting" | "complete" | "error";
export type WorkerProgressEvent = {
    loaded?: number;
    message?: string;
    modelIndex: number;
    modelName?: string;
    phase: WorkerProgressPhase;
    progress: number;
    taskId: string;
    total?: number;
    totalModels: number;
};
export type WorkerProgressEmitter = (event: WorkerProgressEvent) => void;
export type WorkerProgressOptions = {
    emit: WorkerProgressEmitter;
    taskId: string;
    totalModels: number;
};
export declare class WorkerProgressUtils {
    private readonly emit;
    private readonly taskId;
    private readonly totalModels;
    constructor(options: WorkerProgressOptions);
    emitModelProgress(modelIndex: number, modelName: string | undefined, phase: WorkerProgressPhase, modelProgress: number, data?: Pick<WorkerProgressEvent, "loaded" | "message" | "total">): void;
    emitError(message: string): void;
    private clampProgress;
}
