import { MessagePort } from 'worker_threads';
import { type Cache } from './SharedArrayBufferMainCache.js';
export declare class SharedArrayBufferWorkerCache implements Cache {
    private parentPort;
    private requestPromiseMap;
    private parentPromiseMap;
    constructor(parentPort: MessagePort);
    withCache<T>(cacheKey: string, fetcher: () => Promise<T>): Promise<T>;
}
//# sourceMappingURL=SharedArrayBufferWorkerCache.d.ts.map