@maskito/kit
Version:
The optional framework-agnostic Maskito's package with ready-to-use masks
12 lines (11 loc) • 513 B
TypeScript
import type { MaskitoOptions } from '@maskito/core';
import type { MaskitoDateMode, MaskitoDateSegments } from '../../types';
export declare function maskitoDateRangeOptionsGenerator({ mode, min, max, minLength, maxLength, dateSeparator, rangeSeparator, }: {
mode: MaskitoDateMode;
min?: Date;
max?: Date;
minLength?: Partial<MaskitoDateSegments<number>>;
maxLength?: Partial<MaskitoDateSegments<number>>;
dateSeparator?: string;
rangeSeparator?: string;
}): Required<MaskitoOptions>;