import type { LogContext } from '@rocicorp/logger';
import type { DiffOperation } from '../btree/node.ts';
import type { Write } from '../db/write.ts';
import type { PatchOperationInternal } from '../patch-operation.ts';
export type Diff = DiffOperation<string> | {
    op: 'clear';
};
export declare function apply(lc: LogContext, dbWrite: Write, patch: readonly PatchOperationInternal[]): Promise<void>;
//# sourceMappingURL=patch.d.ts.map