/**
 * @returns locale key
 * @example
 * ```ts
 * getLocale("/es/about") // "es"
 * ```
 * @example
 * ```ts
 * getLocale("/about") // "en"
 * ```
 */
export declare function getLocale(url: URL | string): string;
//# sourceMappingURL=getLocale.d.ts.map