astro-i18n-aut
Version:
The i18n integration for Astro 🧑🚀
13 lines • 381 B
TypeScript
/**
* @returns url with chosen locale prefix
* * @example
* ```ts
* getAllLocaleUrls("/es/about") // { en: "/about", "es": "/es/about" }
* ```
* @example
* ```ts
* getAllLocaleUrls("/about") // { en: "/about", "es": "/es/about" }
* ```
*/
export declare function getAllLocaleUrls(url: URL | string): Record<string, string>;
//# sourceMappingURL=getAllLocaleUrls.d.ts.map