/** @packageDocumentation * @module Core */ import { Content } from "./content/Content.js"; import { Descriptor } from "./content/Descriptor.js"; import { Item } from "./content/Item.js"; import { DisplayValueGroup } from "./content/Value.js"; import { ElementProperties } from "./ElementProperties.js"; import { Node } from "./hierarchy/Node.js"; import { NodePathElement } from "./hierarchy/NodePathElement.js"; import { LabelDefinition } from "./LabelDefinition.js"; interface LocalizationHelperProps { getLocalizedString: (key: string) => string; } /** * Localizes presentation data structures **in place**. Callers must pass a mutable graph owned by the current * operation and must not reuse it as untranslated data for another locale. * @internal */ export declare class LocalizationHelper { private _getLocalizedString; constructor(props: LocalizationHelperProps); getLocalizedString(text: string): string; localizeNodes(nodes: Node[]): Node[]; localizeNode(node: Node): Node; localizeNodePathElement(npe: NodePathElement): NodePathElement; localizeDisplayValueGroup(group: DisplayValueGroup): DisplayValueGroup; localizeLabelDefinition(labelDefinition: LabelDefinition): LabelDefinition; localizeLabelDefinitions(labelDefinitions: LabelDefinition[]): LabelDefinition[]; localizeContentDescriptor(descriptor: Descriptor): Descriptor; localizeContentItems(items: Item[]): Item[]; localizeContent(content: Content): Content; localizeElementProperties(elem: ElementProperties): ElementProperties; private localizeContentItem; private localizeRawValuesDictionary; private localizeDisplayValuesDictionary; private localizeRawValue; private localizeContentField; private localizeCategoryDescription; private localizeDisplayValue; } export {}; //# sourceMappingURL=LocalizationHelper.d.ts.map