import de from './locales/de.json'; type LeafKeys = { [K in keyof T & string]: T[K] extends Record ? LeafKeys : `${Prefix}${K}`; }[keyof T & string]; export type TranslationKey = LeafKeys; export type Translator = (key: TranslationKey, options?: Record) => string; declare const resources: { readonly de: { readonly translation: { callEvent: { minutes: string; directionIn: string; directionOut: string; from: string; to: string; stateConnected: string; stateNotConnected: string; duration: string; description: string; }; callComment: { directionIn: string; directionOut: string; subjectConnected: string; subjectBusy: string; subjectMissed: string; header: string; duration: string; participants: string; }; callDirection: { inbound: string; outbound: string; }; callNote: { label: string; empty: string; }; callLogMetadata: { fieldLabel: string; }; callOutcome: { connected: string; noAnswer: string; leftMessage: string; leftVoicemail: string; wrongNumber: string; busy: string; }; callDisposition: { connected: string; missed: string; notFound: string; busy: string; }; task: { label: string; }; entity: { unnamedCase: string; }; }; }; readonly en: { readonly translation: { callEvent: { minutes: string; directionIn: string; directionOut: string; from: string; to: string; stateConnected: string; stateNotConnected: string; duration: string; description: string; }; callComment: { directionIn: string; directionOut: string; subjectConnected: string; subjectBusy: string; subjectMissed: string; header: string; duration: string; participants: string; }; callDirection: { inbound: string; outbound: string; }; callNote: { label: string; empty: string; }; callLogMetadata: { fieldLabel: string; }; callOutcome: { connected: string; noAnswer: string; leftMessage: string; leftVoicemail: string; wrongNumber: string; busy: string; }; callDisposition: { connected: string; missed: string; notFound: string; busy: string; }; task: { label: string; }; entity: { unnamedCase: string; }; }; }; readonly es: { readonly translation: { callEvent: { minutes: string; directionIn: string; directionOut: string; from: string; to: string; stateConnected: string; stateNotConnected: string; duration: string; description: string; }; callComment: { directionIn: string; directionOut: string; subjectConnected: string; subjectBusy: string; subjectMissed: string; header: string; duration: string; participants: string; }; callDirection: { inbound: string; outbound: string; }; callNote: { label: string; empty: string; }; callLogMetadata: { fieldLabel: string; }; callOutcome: { connected: string; noAnswer: string; leftMessage: string; leftVoicemail: string; wrongNumber: string; busy: string; }; callDisposition: { connected: string; missed: string; notFound: string; busy: string; }; task: { label: string; }; entity: { unnamedCase: string; }; }; }; readonly fr: { readonly translation: { callEvent: { minutes: string; directionIn: string; directionOut: string; from: string; to: string; stateConnected: string; stateNotConnected: string; duration: string; description: string; }; callComment: { directionIn: string; directionOut: string; subjectConnected: string; subjectBusy: string; subjectMissed: string; header: string; duration: string; participants: string; }; callDirection: { inbound: string; outbound: string; }; callNote: { label: string; empty: string; }; callLogMetadata: { fieldLabel: string; }; callOutcome: { connected: string; noAnswer: string; leftMessage: string; leftVoicemail: string; wrongNumber: string; busy: string; }; callDisposition: { connected: string; missed: string; notFound: string; busy: string; }; task: { label: string; }; entity: { unnamedCase: string; }; }; }; readonly nl: { readonly translation: { callEvent: { minutes: string; directionIn: string; directionOut: string; from: string; to: string; stateConnected: string; stateNotConnected: string; duration: string; description: string; }; callComment: { directionIn: string; directionOut: string; subjectConnected: string; subjectBusy: string; subjectMissed: string; header: string; duration: string; participants: string; }; callDirection: { inbound: string; outbound: string; }; callNote: { label: string; empty: string; }; callLogMetadata: { fieldLabel: string; }; callOutcome: { connected: string; noAnswer: string; leftMessage: string; leftVoicemail: string; wrongNumber: string; busy: string; }; callDisposition: { connected: string; missed: string; notFound: string; busy: string; }; task: { label: string; }; entity: { unnamedCase: string; }; }; }; }; export type SupportedLanguage = keyof typeof resources; export declare const getTranslator: (language: SupportedLanguage) => Translator; export {};