import React from "react"; import { type FieldProps } from "../Form/Field"; import { type InputFieldProps } from "../Input/InputField"; type OmittedFieldProps = "onChange" | "onBlur" | "onFocus"; interface WeekRange { startDate: Date; endDate: Date; weekNumber: number; year: number; } interface WeekPickerProps extends Omit { selected?: Date | null; onChange?: (weekRange: WeekRange) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; onInputChange?: (value: string) => void; dateFormat?: string; inputProps?: InputFieldProps; errorMessage?: string; errorList?: string[]; minDate?: Date; maxDate?: Date; locale?: string; disableFlipping?: boolean; } declare const WeekPicker: React.ForwardRefExoticComponent & React.RefAttributes>; export default WeekPicker;