import { type Logger } from '@blocksuite/global/utils'; import type { BlobSource } from './source.js'; export interface BlobStatus { isStorageOverCapacity: boolean; } /** * # BlobEngine * * sync blobs between storages in background. * * all operations priority use main, then use shadows. */ export declare class BlobEngine { readonly main: BlobSource; readonly shadows: BlobSource[]; readonly logger: Logger; private _abort; get sources(): BlobSource[]; constructor(main: BlobSource, shadows: BlobSource[], logger: Logger); delete(_key: string): Promise; get(key: string): Promise; list(): Promise; set(value: Blob): Promise; set(key: string, value: Blob): Promise; blobState$(key: string): import("rxjs").Observable | null; upload(key: string): Promise | null; start(): void; stop(): void; sync(): Promise; } //# sourceMappingURL=engine.d.ts.map