import { Ref } from '../ref';
import type { Operation } from '../operation';
export declare function applyPatch<S>(r: Ref<S>, changes: Operation<S> | Array<Operation<S>>): void;
export declare function patch<S>(s: S, changes: Operation<S> | Array<Operation<S>>): S;
