import { AvailableAdjustKeyCode, FieldSectionsValueBoundaries, SectionOrdering, FieldSectionWithoutPosition, FieldSectionValueBoundaries } from './useField.types'; import { FieldSectionType, FieldValueType, FieldSection, MuiPickersAdapter, FieldSectionContentType, PickersTimezone } from '../../../models'; import { PickersLocaleText } from '../../../locales/utils/pickersLocaleTextApi'; export declare const getDateSectionConfigFromFormatToken: (utils: MuiPickersAdapter, formatToken: string) => Pick & { maxLength: number | undefined; }; export declare const getDaysInWeekStr: (utils: MuiPickersAdapter, timezone: PickersTimezone, format: string) => string[]; export declare const getLetterEditingOptions: (utils: MuiPickersAdapter, timezone: PickersTimezone, sectionType: FieldSectionType, format: string) => string[]; export declare const cleanLeadingZeros: (utils: MuiPickersAdapter, valueStr: string, size: number) => string; export declare const cleanDigitSectionValue: (utils: MuiPickersAdapter, timezone: PickersTimezone, value: number, sectionBoundaries: FieldSectionValueBoundaries, section: Pick) => string; export declare const adjustSectionValue: (utils: MuiPickersAdapter, timezone: PickersTimezone, section: TSection, keyCode: AvailableAdjustKeyCode, sectionsValueBoundaries: FieldSectionsValueBoundaries, activeDate: TDate | null, stepsAttributes?: { minutesStep?: number; }) => string; export declare const getSectionVisibleValue: (section: FieldSectionWithoutPosition, target: 'input-rtl' | 'input-ltr' | 'non-input') => string; export declare const cleanString: (dirtyString: string) => string; export declare const addPositionPropertiesToSections: (sections: FieldSectionWithoutPosition[], isRTL: boolean) => TSection[]; export declare const changeSectionValueFormat: (utils: MuiPickersAdapter, valueStr: string, currentFormat: string, newFormat: string) => string; export declare const doesSectionFormatHaveLeadingZeros: (utils: MuiPickersAdapter, timezone: PickersTimezone, contentType: FieldSectionContentType, sectionType: FieldSectionType, format: string) => boolean; export declare const splitFormatIntoSections: (utils: MuiPickersAdapter, timezone: PickersTimezone, localeText: PickersLocaleText, format: string, date: TDate | null, formatDensity: 'dense' | 'spacious', shouldRespectLeadingZeros: boolean, isRTL: boolean) => FieldSectionWithoutPosition[]; /** * Some date libraries like `dayjs` don't support parsing from date with escaped characters. * To make sure that the parsing works, we are building a format and a date without any separator. */ export declare const getDateFromDateSections: (utils: MuiPickersAdapter, sections: FieldSection[]) => NonNullable; export declare const createDateStrForInputFromSections: (sections: FieldSection[], isRTL: boolean) => string; export declare const getSectionsBoundaries: (utils: MuiPickersAdapter, timezone: PickersTimezone) => FieldSectionsValueBoundaries; export declare const validateSections: (sections: TSection[], valueType: FieldValueType) => void; export declare const mergeDateIntoReferenceDate: (utils: MuiPickersAdapter, timezone: PickersTimezone, dateToTransferFrom: TDate, sections: FieldSectionWithoutPosition[], referenceDate: TDate, shouldLimitToEditedSections: boolean) => TDate; export declare const isAndroid: () => boolean; export declare const getSectionOrder: (sections: FieldSectionWithoutPosition[], isRTL: boolean) => SectionOrdering;