import { Taxonomy, RawTaxonomy } from "@giancosta86/omnicourse-core";
declare type WithCorrelationId = Readonly<{
    correlationId: string;
}>;
export declare type MessageToWorker = Readonly<WithCorrelationId & {
    type: "computeTaxonomy";
    taxonomyName: string;
    rawTaxonomy: RawTaxonomy;
}>;
export declare type MessageFromWorker = Readonly<WithCorrelationId & ({
    type: "taxonomyReady";
    taxonomy: Taxonomy;
} | {
    type: "taxonomyError";
    errorMessage: string;
})>;
export {};
//# sourceMappingURL=protocol.d.ts.map