import type { i18n as I18nInstance } from 'i18next'; import type { TranslationKey } from './i18n.d'; /** * Helper function for host applications to override specific pipeline translations. * * Overrides are applied to the package-owned `defaultI18n` instance — that's * the instance the package actually renders against, so they take effect * immediately for everything rendered by `PipelineManagement`. The provided * host i18n instance also receives the overrides so `host.t('rdiPipeline:...')` * stays consistent. * * @param i18n - The host i18next instance * @param lng - Language code (e.g., 'en') * @param overrides - Object with translation keys and their override values * * @example * // Override specific translations * overridePipelineTranslations(i18n, 'en', { * 'error.title': 'Oops! Something went wrong', * 'common.deploy': 'Launch Pipeline' * }); */ export declare const overridePipelineTranslations: (i18n: I18nInstance, lng: string, overrides: Partial>) => void;