import type { Operation } from '../types';
import type { Op } from '../op';
import type { ApplyPatchOptions, OpResult, PatchResult } from './types';
export declare function applyOp(doc: unknown, op: Op, mutate: boolean): OpResult;
export declare function applyOps(doc: unknown, ops: readonly Op[], mutate: boolean): PatchResult;
export declare function applyPatch(doc: unknown, patch: readonly Operation[], options: ApplyPatchOptions): PatchResult;
