/// <reference types="react" />
import type { Control, FieldValues, Path } from 'react-hook-form';
import type { Dayjs } from 'dayjs';
import type { FormErrorType } from 'models/general.model';
import type { FromToDateType } from './DatePicker';
export type DateLabelProps = {
    size?: number;
    gap?: {
        x: number;
        y: number;
    };
};
type DatePickerWrapperProps<T extends FieldValues> = {
    name: Path<T>;
    control: Control<T, unknown>;
    fromDateCalculated?: FromToDateType;
    toDateCalculated?: FromToDateType;
    error?: FormErrorType;
    validDates?: Dayjs[];
    dateLabelProps?: DateLabelProps;
    locale?: 'he' | 'en';
    showDays?: boolean;
    isPopup?: boolean;
};
declare const DatePickerWrapperForm: <T extends FieldValues>({ name, control, fromDateCalculated, toDateCalculated, validDates, dateLabelProps, locale, showDays, isPopup }: DatePickerWrapperProps<T>) => JSX.Element;
export default DatePickerWrapperForm;
