import type { ITextstring, TextstringReplacement } from '../components/textstring/types'; import type { TextstringValue } from '../types/textstring'; interface LoadLibraryOptions { libraryName: string; language: string; } export declare const loadLibrary: ({ language, libraryName }: LoadLibraryOptions) => Promise; interface SelectLanguageToChangeOptions { textstringName: string; } export declare const selectLanguageToChange: ({ textstringName }: SelectLanguageToChangeOptions) => void; interface InitTextstringsOptions { /** * The language that should be used. */ language: string; /** * The name of the library. */ libraryName: string; } export declare const initTextstrings: ({ libraryName, language }: InitTextstringsOptions) => void; interface GetTextstringValueOptions { textstring: ITextstring; libraryName: string; replacements?: TextstringReplacement; } export declare const getTextstringValue: ({ libraryName, textstring, replacements, }: GetTextstringValueOptions) => string; interface TtsToITextStringOptions { stringName: string; fallback: string; } export declare const ttsToITextString: (textString: TtsToITextStringOptions | string) => { name: string; fallback: string; }; export {};