@maskito/kit
Version:
The optional framework-agnostic Maskito's package with ready-to-use masks
10 lines (9 loc) • 396 B
TypeScript
import type { MaskitoDateSegments, MaskitoTimeSegments } from '../../types';
export declare function toDateString(segments: Partial<MaskitoDateSegments>, options: {
dateMode: string;
}): string;
export declare function toDateString(segments: Partial<MaskitoDateSegments & MaskitoTimeSegments>, options: {
dateMode: string;
dateTimeSeparator: string;
timeMode: string;
}): string;