interface ParsedPath {
    locale: string | null;
    rest: string;
}
declare function parseLocalePath(pathname: string, locales: readonly string[]): ParsedPath;
declare function buildLocalePath(locale: string, rest: string, defaultLocale: string): string;

export { type ParsedPath, buildLocalePath, parseLocalePath };
