import type { Operation } from '../types';
import type { ApplyPatchOptions } from '../applyPatch/types';
import type { ApplyFn } from './types';
import { type JavaScriptLinked } from '@jsonjoy.com/util/lib/codegen';
export declare const apply: (patch: readonly Operation[], applyOptions: ApplyPatchOptions, doc: unknown) => unknown;
export declare const $$apply: (operations: readonly Operation[], applyOptions: ApplyPatchOptions) => JavaScriptLinked<ApplyFn>;
export declare const $apply: (operations: readonly Operation[], applyOptions: ApplyPatchOptions) => ApplyFn;
