import { ViteDevServer } from 'vite';
/**
 * Registers a file watcher that triggers a full page reload
 * when translation files are added or modified.
 *
 * Matches files in i18n directories with .json, .xlf, .xmb, or .arb extensions.
 *
 * @param viteServer The Vite development server instance
 */
export declare function registerI18nWatcher(viteServer: ViteDevServer): void;
/**
 * Checks whether a file path looks like a translation file
 * based on its location in an i18n directory and its extension.
 */
export declare function isTranslationFile(path: string): boolean;
