import type { ChangesBatch } from './Change.js';
import type { Source } from './Source.js';
import { ReadonlyTree } from './Tree.js';
export declare class IndexedDBSource implements Source {
    #private;
    constructor(indexedDB: IDBFactory, name: string);
    getTree(): Promise<ReadonlyTree>;
    getTreeIfDifferent(sha: string): Promise<ReadonlyTree | undefined>;
    getBlobs(shas: Array<string>): AsyncGenerator<[sha: string, blob: Uint8Array]>;
    applyChanges(batch: ChangesBatch): Promise<void>;
}
