site/node_modules/speech-rule-engine/js/l10n/locale.d.ts

18 lines
481 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
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;