export declare const Worker: {
    new (scriptURL: string | URL, options?: WorkerOptions): Worker;
    prototype: Worker;
}, TransformStream: {
    new <I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
    prototype: TransformStream;
};
/** add message callback */
export declare function onMessage(callback: (value: unknown) => unknown): void;
/** post message */
export declare function postMessage(value: unknown, transfer?: Transferable[]): void;
export declare const MAX_WORKERS: number;
//# sourceMappingURL=browser.d.ts.map