/** * @typedef {Function} ResourceLoader Represents a function assigned to * a specific language that takes a string key and an optional * {@link TemplateData} object and returns a localized string for * that language if it exists */ import { TemplateData } from './TemplateData'; export declare type ResourceLoader = (key: string, data?: TemplateData) => string;