import type { DataFeedCompression } from './options.ts';
import { Exchange, Filter } from './types.ts';
export type WorkerMessage = {
    sliceKey: string;
    slicePath: string;
    sliceSize: number;
};
export type WorkerJobPayload = {
    cacheDir: string;
    endpoint: string;
    apiKey: string;
    dataFeedCompression: DataFeedCompression;
    userAgent: string;
    fromDate: Date;
    toDate: Date;
    exchange: Exchange;
    filters: Filter<any>[];
    waitWhenDataNotYetAvailable?: boolean | number;
};
export declare const enum WorkerSignal {
    BEFORE_TERMINATE = "BEFORE_TERMINATE",
    READY_TO_TERMINATE = "READY_TO_TERMINATE"
}
//# sourceMappingURL=worker.d.ts.map