UNPKG

@phensley/cldr-core

Version:
19 lines (18 loc) 893 B
import { CharacterOrderType, LineOrderType, RegionIdType, ScriptIdType } from '@phensley/cldr-schema'; import { General } from '../api'; import { ListPatternType } from '../../common'; import { Bundle } from '../../resource'; import { Part } from '../../types'; import { GeneralInternals, Internals } from '../../internals'; export declare class GeneralImpl implements General { protected bundle: Bundle; protected internal: Internals; protected general: GeneralInternals; constructor(bundle: Bundle, internal: Internals); characterOrder(): CharacterOrderType; lineOrder(): LineOrderType; formatList(items: string[], type?: ListPatternType): string; formatListToParts(items: string[], type?: ListPatternType): Part[]; getScriptDisplayName(code: ScriptIdType | string): string; getRegionDisplayName(code: RegionIdType | string, type?: string): string; }