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