import { Worker } from 'worker_threads';
export interface Cache {
    withCache<T>(cacheKey: string, fetcher: () => Promise<T>): Promise<T>;
}
export declare class SharedArrayBufferMainCache implements Cache {
    private cache;
    constructor(workers: Worker[]);
    withCache<T>(cacheKey: string, fetcher: () => Promise<T>): Promise<T>;
}
//# sourceMappingURL=SharedArrayBufferMainCache.d.ts.map