UNPKG

@maskito/core

Version:

The main zero-dependency and framework-agnostic Maskito's package to create an input mask

12 lines 560 B
import type { ElementState, MaskitoOptions, SelectionRange } from '../../types'; export declare class MaskModel implements ElementState { private readonly initialElementState; private readonly maskOptions; value: string; selection: SelectionRange; constructor(initialElementState: ElementState, maskOptions: Required<MaskitoOptions>); addCharacters([from, to]: SelectionRange, newCharacters: string): void; deleteCharacters([from, to]: SelectionRange): void; private getMaskExpression; } //# sourceMappingURL=mask-model.d.ts.map