import type { Brand, CustomBrand, Override } from '../../type/index.js'; export interface PathOptions { /** * Path separator * * @defaultValue `/` */ separator: string; } export declare const defaultPathOptions: { separator: "/"; }; export type DefaultPathOptions = typeof defaultPathOptions; declare module "../../Brands-augmentation" { interface Brands { path: { _: PathOptions; segment: unknown; }; } } export type PathBrand = {}> = CustomBrand<'path._', Override>; export type PathString = {}> = string & PathBrand; /** Path segment is also a valid path */ export type PathSegmentBrand = {}> = PathBrand & Brand<'path.segment'>; /** Does not include separator */ export type PathSegmentString = {}> = string & PathSegmentBrand; export declare function isPath = {}>(str: string, _options?: PartialOptions): str is PathString; export declare function isPathSegment = {}>(str: string, partialOptions?: PartialOptions): str is PathSegmentString; //# sourceMappingURL=PathBrand.d.ts.map