import * as React from 'react'; import { DateWithToDateMethod, DateTimeInputProps, DateTimeInputState, NormalizeValueArgs, TimeLimits } from './types'; export declare const extractFromFormat: (format: string, pattern: string, string: string) => number | null; export declare const stringToDate: (string: string | undefined, format: string | undefined) => Date | null; export declare const formatDateTime: (date: Date | null, format?: string) => string; export declare const getMonthNameOfDate: (month: number) => string; export declare const formatDate: (date: Date) => string; export declare const createMask: (format: string, type: "date-only" | "date-time" | "time-only") => string; export declare const getInputWrapperClassNames: (theme: { calendar: { buttonDisabled: string; dateCell: string; dateCellActive: string; dateCellDayOff: string; dateCellDifferentMonth: string; dateCellDisabled: string; dateCellMarked: string; dateCellSelected: string; dateCellToday: string; dateRow: string; dateView: string; footer: string; header: string; monthCell: string; monthCellActive: string; monthCellDisabled: string; monthRow: string; monthView: string; nextButton: string; nextIcon: string; prevButton: string; prevIcon: string; title: string; titleDisabled: string; weekDaysRow: string; wrapper: string; wrapperRight: string; wrapperTop: string; wrapperVisible: string; yearCell: string; yearCellActive: string; yearCellDifferentDecade: string; yearCellDisabled: string; yearRow: string; yearView: string; }; calendarIcon: string; iconsWrapper: string; input: string; inputWrapper: string; inputWrapperFocused: string; inputWrapperInvalid: string; inputWrapperRequired: string; wrapper: string; wrapperDisabled: string; }, props: DateTimeInputProps, state: DateTimeInputState, isValid: boolean) => string | undefined; export declare const normilizeNumber: (value: number, rules: TimeLimits) => number; export declare const normalizeTimeLimits: (timeLimits: TimeLimits | undefined) => TimeLimits | undefined; export declare const convertToDate: (dateValue?: DateWithToDateMethod | undefined) => DateWithToDateMethod | undefined; export declare const checkIsDateFormatIncorrect: (val?: DateWithToDateMethod | undefined) => boolean; export declare const updateInputSelection: (maskedInputRef: React.MutableRefObject, format: string) => void; export declare const normalizeValue: ({ value, format, min, max, }: NormalizeValueArgs) => string; export declare const getValue: ({ valueProp, valueState, dateState, format, }: { dateState: Date | null; format?: string | undefined; valueProp?: string | Date | null | undefined; valueState: string; }) => string; /** * Helper checks if hours, minutes or seconds exceed limits * @param {string} mask - Mask for time input * @param {string} maskedValue - Actual masked value * * @returns {boolean} Are hours, minutes, or seconds over limit? */ export declare const isTimeWithinLimits: (mask: string, maskedValue: string) => boolean;