import { ILocalizedComponentResources } from './fetchResources'; type I18nValueContext = { [key: string]: string | number; }; export type GetI18nValue = (resourceKey: string, context?: I18nValueContext) => string; export declare function buildI18nForComponent(component: HTMLElement, defaultResources: ILocalizedComponentResources, parentComponent?: string): Promise; export declare function getComponentI18nResources(component: HTMLElement, defaultResources: ILocalizedComponentResources, locale: string, parentComponent?: string): Promise; export declare function getDesiredLocale(element: HTMLElement): string; export {};