import type { EndRoute, Route } from "./routes/interfaces"; import type { LocaleType, RoutePathInterface } from "./routes/types"; export type { LocaleType, RoutePathInterface, EndRoutePath, SegmentRoutePath, } from "./routes/types"; export type LocalizedPathsRecord = Record< Locales, string >; // export SegmentCallbackType = (builder: SegmentRouterBuilderType) => void; export type Routes = Route< RoutePathInterface, Locales, RouteRef >[]; export type RouteMap = Map< string, EndRoute >;