import { PathSegment } from '@sanity/types'; import { set, unset, setIfMissing, insert, inc, dec } from './patch/patches'; import type { Patch } from './patch/types'; declare type PatchArg = Patch | Patch[]; export default class PatchEvent { static from(...patches: PatchArg[]): PatchEvent; patches: Array; constructor(patches: Array); prepend(...patches: Array): PatchEvent; append(...patches: Array): PatchEvent; prefixAll(segment: PathSegment): PatchEvent; } export { PatchEvent, set, unset, setIfMissing, insert, inc, dec }; //# sourceMappingURL=PatchEvent.d.ts.map