import { Path, PathSegment } from '@sanity/types'; import { ChangeNode, FieldChangeNode } from '../../types'; declare const isAddedAction: (change: ChangeNode) => boolean; declare const flattenChangeNode: (changeNode: ChangeNode) => FieldChangeNode[]; /** * Checks whether a path is under another path within the tree. */ declare const isSubpathOf: (subPath: Path, parentPath: Path) => boolean; declare const pathSegmentOfCorrectType: (item: Record, child: string) => PathSegment; export { isAddedAction, flattenChangeNode, isSubpathOf, pathSegmentOfCorrectType }; //# sourceMappingURL=helpers.d.ts.map