import type { Router } from "../router/createRouter.ts"; import type { LocaleType, LocalizedPathsRecord, Routes } from "../types.ts"; import type { SegmentRouterBuilder } from "./createSegmentRouterBuilderCreator.ts"; export interface RouterBuilder { add: (path: string, ref: RouteRef, key?: string) => this; addLocalized: (localizedPaths: LocalizedPathsRecord, ref: RouteRef, key?: string) => this; addLocalizedSegment: (localizedPaths: LocalizedPathsRecord, buildSegment: (builder: SegmentRouterBuilder) => void) => this; addSegment: (path: string, buildSegment: (builder: SegmentRouterBuilder) => void) => this; createRouter: () => Router; getRoutes: () => Routes; } export declare function createRouterBuilder(locales?: Locales[]): RouterBuilder; //# sourceMappingURL=createRouterBuilder.d.ts.map