import type { DateFormat, ISODate, Separator } from "./types"; import type { DateSegment } from "./types"; export declare const getSeparatorFromFormat: (format?: DateFormat) => Separator; export declare const getInitialSegments: (initialDate: ISODate | null) => { dayOfMonthSegment: DateSegment; monthSegment: DateSegment; yearSegment: DateSegment; }; export declare const getLastDayOfMonth: (year: number, month: number) => number; export declare const getDisplayValue: (numericValue: number | undefined, placeholderText: string) => string | undefined; /** * Pads a numeric value with a leading zero if it is less than 10. * Used for formatting month and day values to be two digits, consistent with ISO date format. * @param numericValue The numeric value to pad * @returns The padded numeric value */ export declare const getTwoDigitPaddedValue: (numericValue: number | undefined) => string | undefined;