site/node_modules/speech-rule-engine/js/l10n/locale.d.ts
2024-10-14 08:09:33 +02:00

18 lines
481 B
TypeScript

import { Alphabets, Functions, Messages, Numbers, SubIso } from './messages';
import * as tr from './transformers';
export interface Locale {
FUNCTIONS: Functions;
MESSAGES: Messages;
ALPHABETS: Alphabets;
NUMBERS: Numbers;
COMBINERS?: {
[key: string]: tr.Combiner;
};
CORRECTIONS?: {
[key: string]: (a: string) => string;
};
SUBISO: SubIso;
}
export declare const LOCALE: Locale;
export declare function createLocale(): Locale;