import type { LogContext } from '@rocicorp/logger';
import type { Write } from '../db/write.ts';
import type { PatchOperationInternal } from '../patch-operation.ts';
import type { DiffOperation } from '../btree/node.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