import type { QueuedWorkerJob, WorkerJobRecord } from './types';
export type WorkerObservation = {
    type: 'added' | 'active' | 'delayed';
    job: QueuedWorkerJob;
} | {
    type: 'completed' | 'failed';
    job: QueuedWorkerJob;
    record: WorkerJobRecord;
};
export type WorkerObserver = (entry: WorkerObservation) => void;
export declare function registerWorkerObserver(observer: WorkerObserver): () => void;
export declare function notifyWorkerObservers(entry: WorkerObservation): void;
//# sourceMappingURL=observer.d.ts.map