@maskito/kit
Version:
The optional framework-agnostic Maskito's package with ready-to-use masks
11 lines • 529 B
TypeScript
import type { MaskitoPostprocessor } from '@maskito/core';
export declare function createDateSegmentsZeroPaddingPostprocessor({ dateModeTemplate, dateSegmentSeparator, splitFn, uniteFn, }: {
dateModeTemplate: string;
dateSegmentSeparator: string;
splitFn: (value: string) => {
dateStrings: string[];
restPart?: string;
};
uniteFn: (validatedDateStrings: string[], initialValue: string) => string;
}): MaskitoPostprocessor;
//# sourceMappingURL=date-segments-zero-padding-postprocessor.d.ts.map