import { type UserEvent } from '@testing-library/user-event'; import { type BaseRangePickerProps } from '../BaseRangePicker.types'; export type BaseRangePickerTestUtilityConfig = { user: UserEvent; calendarLocale: BaseRangePickerProps['calendarLocale']; }; export declare function createBaseRangePickerTestUtility({ user, calendarLocale }: BaseRangePickerTestUtilityConfig): { getPopover: () => Element | null; getPreviousMonthButton: () => HTMLElement; getNextMonthButton: () => HTMLElement; getApplyButton: () => HTMLElement; getCancelButton: () => HTMLElement; getDateCellByText: (text: string) => HTMLElement | undefined; getSelectedDateCells: () => HTMLElement[]; getInRangeDateCells: () => HTMLElement[]; getLeftMonthLabel: () => string | undefined; clickPreviousMonth: () => Promise; clickNextMonth: () => Promise; clickApply: () => Promise; selectDate: (dateText: string) => Promise; getStartInput: () => HTMLInputElement; getEndInput: () => HTMLInputElement; getClearButton: () => HTMLElement | null; getCalendarButton: () => HTMLElement; getStartValue: () => string | null; getEndValue: () => string | null; isClearButtonVisible: () => boolean; setStartDate: (date: string) => Promise; setEndDate: (date: string) => Promise; clearValues: () => Promise; openCalendar: () => Promise; };