import type { AgStudioLocaleKey, AgStudioLocaleText } from '../../api/studioLocaleKey'; export type LocaleTextFunc = (key: TKey, defaultValue: string, variableValues?: Record | string[]) => string; export interface TranslationBean { getLocaleTextFunc(): LocaleTextFunc; } export declare function studioDefaultTranslateFromMap(localeMap: { [key in TLocaleKey]?: string; } | undefined, key: TLocaleKey, variableValues?: Record | string[]): string | undefined; export declare function studioGetLocaleTextFromMap(localeText?: AgStudioLocaleText): LocaleTextFunc; export declare function studioGetLocaleTextFromFunc(getLocaleText: (params: { key: AgStudioLocaleKey; defaultValue: string; variableValues?: Record; }) => string): LocaleTextFunc; export declare function studioTranslate(bean: TranslationBean, key: AgStudioLocaleKey, variableValues?: Record | string[]): string; export declare function getStudioTranslateFunc(localeSvc: TranslationBean): LocaleTextFunc;