UNPKG

alinea

Version:
12 lines (11 loc) 504 B
import type { ChangesBatch } from './Change.js'; import type { Source } from './Source.js'; import { ReadonlyTree } from './Tree.js'; export declare class CombinedSource implements Source { #private; constructor(sources: Record<string, Source>); getTree(): Promise<ReadonlyTree>; getTreeIfDifferent(sha: string): Promise<ReadonlyTree | undefined>; getBlobs(shas: Array<string>): AsyncGenerator<[sha: string, blob: Uint8Array]>; applyChanges(batch: ChangesBatch): Promise<void>; }