/** Path helpers shared by `checkProps` and `validateProposal`. */ export type Segment = string | number; /** `['sx', 'md', 'color']` → `sx.md.color`, `['units', 0, 'value']` → `units[0].value`, `['sx', 'md.color']` → `sx["md.color"]`. */ export declare const formatPath: (path: readonly Segment[]) => string; /** Accepts both `a.0.b` and `a[0].b`. Only for paths with plain keys: keep segment arrays wherever a key comes from data. */ export declare const segments: (path: string) => string[]; /** At, inside or above: writing `sx.md.paddingTop` is also concerned by a disallowed `sx.md`. */ export declare const overlaps: (a: readonly Segment[], b: readonly Segment[]) => boolean; /** Appends a relative path: `join('ops[0].node', 'props.sx')`, `join('a', '[0]')`, `join('a', '')`. */ export declare const join: (base: string, path: string) => string;