import type { WaferMapInput, WaferMapResult } from '../renderer/buildWaferMap.js';
import type { AnalyzeWaferMapOptions, StatsSummary, LotStatsSummary } from '../stats/index.js';
export type WorkerRequest = {
    type: 'run';
    id: number;
    input: WaferMapInput;
} | {
    type: 'analyze';
    id: number;
    results: WaferMapResult[];
    options: AnalyzeWaferMapOptions;
    hasMultiWafer: boolean;
} | {
    type: 'runWithAnalysis';
    id: number;
    inputs: WaferMapInput[];
    options: AnalyzeWaferMapOptions;
    hasMultiWafer: boolean;
} | {
    type: 'ping';
};
export type WorkerResponse = {
    type: 'result';
    id: number;
    result: WaferMapResult;
} | {
    type: 'analyzed';
    id: number;
    waferSummaries: StatsSummary[];
    lotSummary: LotStatsSummary | null;
} | {
    type: 'resultWithAnalysis';
    id: number;
    results: WaferMapResult[];
    waferSummaries: StatsSummary[];
    lotSummary: LotStatsSummary | null;
} | {
    type: 'error';
    id: number;
    message: string;
} | {
    type: 'pong';
};
//# sourceMappingURL=wafermap.worker.d.ts.map