@phensley/cldr-core
Version:
Core library for @phensley/cldr
11 lines (10 loc) • 445 B
TypeScript
import { WrapperInternals } from '..';
import { WrapperNode } from '../../parsing/patterns/wrapper';
import { Part } from '../../types';
export declare class WrapperInternalsImpl implements WrapperInternals {
private readonly wrapperPatternCache;
constructor(cacheSize?: number);
format(format: string, args: string[]): string;
formatParts(format: string, args: Part[][]): Part[];
parseWrapper(raw: string): WrapperNode[];
}