/**
 * @returns locale prefix or an empty string if defaultLocale
 * @example
 * ```ts
 * getLocaleUrlPrefix("/es/about") // "/es"
 * ```
 * @example
 * ```ts
 * getLocale("/about") // ""
 * ```
 */
export declare function getLocaleUrlPrefix(url: URL | string): string;
//# sourceMappingURL=getLocaleUrlPrefix.d.ts.map