import type { Operation } from '../types';
import type { ApplyPatchOptions, OpResult, PatchResult } from './types';
export declare function applyOperation(doc: unknown, operation: Operation): OpResult;
export declare function applyPatch(doc: unknown, patch: readonly Operation[], options: ApplyPatchOptions): PatchResult;
