import { LocalesValues } from "@intlayer/types";

//#region src/utils/getOutputFilePath.d.ts

/**
 * Get the output file path by replacing the base locale with the target locale
 *
 * This function handles two types of replacements:
 * 1. Actual locale values (e.g., `/en/` → `/fr/`)
 * 2. Template placeholders (e.g., `{{baseLocale}}` → `{{locale}}`, `{{baseLocaleName}}` → `{{localeName}}`)
 *
 * Replacement patterns:
 * - `/baseLocale/` → `/locale/`
 * - `\baseLocale\` → `\locale\`
 * - `_baseLocale.` → `_locale.`
 * - `baseLocale_` → `locale_`
 * - `.baseLocaleName.` → `.localeName.`
 * - `{{baseLocale}}` → `{{locale}}`
 * - `{{baseLocaleName}}` → `{{localeName}}`
 *
 * If no patterns match, appends `.locale` to the file extension.
 *
 * @param filePath - The input file path
 * @param locale - The target locale
 * @param baseLocale - The base locale to replace
 * @returns The output file path with locale replacements
 */
declare const getOutputFilePath: (filePath: string, locale: LocalesValues, baseLocale: LocalesValues) => string;
//#endregion
export { getOutputFilePath };
//# sourceMappingURL=getOutputFilePath.d.ts.map