export { toPathKey, fromPathKey }; /** A path key is a dotted string used for map-style lookups (e.g. shield metadata keyed by path). * Literal `.` and `\` in any segment are escaped so round-tripping is lossless: * toPathKey(['a.b', 'c']) === 'a\\.b.c' * fromPathKey('a\\.b.c') === ['a.b', 'c'] * Callers that walk a tree (e.g. get/set) use the segment array directly and never see the escape. */ declare function toPathKey(segments: readonly string[]): string; declare function fromPathKey(path: string): string[];