UNPKG

@kelvininc/ui-components

Version:
6 lines (5 loc) 495 B
import { EInputFieldType, IInputMaskInstanceRef } from './text-field.types'; export declare function getInputMaskConfig(type: EInputFieldType): Inputmask.Options; export declare function isInputMaskCompatibleType(type: EInputFieldType): boolean; export declare function buildInputMask(input: HTMLInputElement, inputType: EInputFieldType, options: Inputmask.Options, maxLength?: number): IInputMaskInstanceRef; export declare function getValueAsString(newValue?: string | number | null): string;