export interface CssTranslation { selector: string text: string not?: boolean } export type Translation = string | CssTranslation | (string | CssTranslation)[] export type GeneralTranslation = Map export type RegexTranslation = [RegExp, string][] export type LanguagePack = { map?: [string, Translation][] regex?: RegexTranslation } export type Options = { language: string translator: string }