declare const $path: unique symbol; export type Path = String & { readonly [$path]: readonly string[]; }; export declare function toPath(path: string): Path; export declare function toPaths(paths: readonly string[]): Path[]; export declare function joinPaths(paths: readonly (string | Path)[]): Path; export declare function toPathSegments(path: Path): readonly string[]; export declare function writePath>(path: Path, object: U, value: T): U; export declare function readPath(path: Path, objects: readonly Record[]): T[]; export declare function readPath(path: Path, object: Record): T | undefined; export declare function assertValidPaths(paths: readonly Path[]): void; export {};