export interface Segment { raw: string; name: string; type?: "_" | "$" | "$$" | undefined; param?: string; } export interface Path { id: string; segments: Segment[]; isCatchall?: boolean; source: string; } export declare function parseFlatRoute(pattern: string): Path[];