import type { FactoryArg } from "imask"; export type DateFormat = "US" | "DE" | "RoW" | string; export declare const FORMAT_TO_MASK: Record; export declare const FORMAT_TO_LABEL_HINT: Record; export type DateMaskBlocks = FactoryArg["blocks"]; /** Reads min/max year from mask blocks (Y.from / Y.to). Used for calendar year range. */ export declare function getYearRangeFromMaskBlocks(blocks?: DateMaskBlocks): { minYear?: number; maxYear?: number; }; export type DateMaskOptions = { format: DateFormat; isPlaceholderShown?: boolean; dayPlaceholderChar?: string; monthPlaceholderChar?: string; yearPlaceholderChar?: string; /** Optional overrides for IMask blocks (e.g. to clamp year range). */ maskBlocks?: DateMaskBlocks; }; export declare function getMaskOptions({ format, isPlaceholderShown, dayPlaceholderChar, monthPlaceholderChar, yearPlaceholderChar, maskBlocks, }: DateMaskOptions): FactoryArg;