import { i as LocaleMessages, n as GetBaseTextKey, r as INodeTranslationHeaders, t as BaseTextKey } from "./types2.mjs"; import * as vue0 from "vue"; import { I18n } from "vue-i18n"; import { INodeProperties, INodePropertyCollection, INodePropertyOptions } from "n8n-workflow"; //#region src/index.d.ts type LooseSchema = Record; declare const i18nInstance: I18n; declare const i18nVersion: vue0.Ref; type BaseTextOptions = { adjustToNumber?: number; interpolate?: Record; }; declare class I18nClass { private baseTextCache; private get i18n(); exists(key: string): boolean; shortNodeType(longNodeType: string): string; get locale(): string; baseText(key: BaseTextKey, options?: BaseTextOptions): string; clearCache(): void; private dynamicRender; displayTimer(msPassed: number, showMs?: boolean): string; headerText(arg: { key: string; fallback: string; }): string; credText(credentialType: string | null): { inputLabelDisplayName({ name: parameterName, displayName }: INodeProperties): string; hint({ name: parameterName, hint }: INodeProperties): string; inputLabelDescription({ name: parameterName, description }: INodeProperties): string; optionsOptionDisplayName({ name: parameterName }: INodeProperties, { value: optionName, name: displayName }: INodePropertyOptions): string; optionsOptionDescription({ name: parameterName }: INodeProperties, { value: optionName, description }: INodePropertyOptions): string; placeholder({ name: parameterName, placeholder }: INodeProperties): string; }; nodeText(activeNodeType?: string | null): { inputLabelDisplayName(parameter: INodeProperties | INodePropertyCollection, path: string): string; inputLabelDescription(parameter: INodeProperties, path: string): string; hint(parameter: INodeProperties, path: string): string; placeholder(parameter: INodeProperties, path: string): string; optionsOptionDisplayName(parameter: INodeProperties, { value: optionName, name: displayName }: INodePropertyOptions, path: string): string; optionsOptionDescription(parameter: INodeProperties, { value: optionName, description }: INodePropertyOptions, path: string): string; collectionOptionDisplayName(parameter: INodeProperties, { name: optionName, displayName }: INodePropertyCollection, path: string): string; multipleValueButtonText({ name: parameterName, typeOptions }: INodeProperties): string; addOptionalFieldButtonText({ name: parameterName, typeOptions }: INodeProperties): string; eventTriggerDescription(nodeType: string, eventTriggerDescription: string): string; }; localizeNodeName(language: string, nodeName: string, type: string): string; autocompleteUIValues: Record; } declare function setLanguage(locale: string): string; declare function loadLanguage(locale: string, messages: LocaleMessages): string; declare function addNodeTranslation(nodeTranslation: { [nodeType: string]: object; }, language: string): void; declare function updateLocaleMessages(locale: string, messages: LocaleMessages): void; declare function addCredentialTranslation(nodeCredentialTranslation: { [credentialType: string]: object; }, language: string): void; declare function addHeaders(headers: INodeTranslationHeaders, language: string): void; declare const i18n: I18nClass; declare function useI18n(): I18nClass; //#endregion export { BaseTextKey, GetBaseTextKey, I18nClass, INodeTranslationHeaders, LocaleMessages, addCredentialTranslation, addHeaders, addNodeTranslation, i18n, i18nInstance, i18nVersion, loadLanguage, setLanguage, updateLocaleMessages, useI18n }; //# sourceMappingURL=index.d.mts.map