UNPKG

@phensley/cldr-core

Version:
20 lines (19 loc) 659 B
import { Instruction, Schema } from '@phensley/cldr-schema'; /** * Builds the schema accessor singleton. */ export declare class SchemaBuilder { private generator; private captureTimes; private _times; constructor(debug?: boolean); construct(obj: any, inst: Instruction): void; private constructDigits<T>(obj, inst); private constructField(obj, inst); private constructOrigin(obj, inst); private constructScope(obj, inst); private constructScopeMap(obj, inst); private constructVector1<T>(obj, inst); private constructVector2<T, S>(obj, inst); } export declare const buildSchema: (debug?: boolean) => Schema;