export declare function segmentCount(path: string): number; /** * Returns an error message if `path` is not a valid collection path * (collection paths have an odd number of segments: "users", "users/123/posts"). * Returns null if the path is valid. */ export declare function collectionPathError(path: string): string | null; /** * Returns an error message if `path` is not a valid document path * (document paths have an even number of segments: "users/123", "stores/ABC/orders/456"). * Returns null if the path is valid. */ export declare function documentPathError(path: string): string | null; //# sourceMappingURL=paths.d.ts.map