///
import { PopoverPosition } from 'react-tiny-popover';
export interface CalendarProps {
/**
*
* @param value
* @returns Object {date_start, date_end}
*/
onChange?: (value: {
date_start?: Date | null;
date_end?: Date | null;
}) => void;
onApply?: (value: {
date_start?: Date | null;
date_end?: Date | null;
current_month?: number | null;
current_year?: number | null;
}) => void;
onReset?: (value: {
date_start?: Date | null;
date_end?: Date | null;
}) => void;
closePopOverOnReset?: boolean;
defaultValue?: [Date | null, Date | null];
type?: 'date' | 'range' | 'month' | 'year';
showPeriode?: boolean;
placeholder?: string;
id?: string;
disabled?: boolean;
minDate?: Date;
maxDate?: Date;
/**
* CSS class name for the input element
* @default ''
*/
inputClassName?: string;
/**
* Positions for the popover overlay. Accepts a single position or an array of positions
* to define the preferred order.
*/
positionOverlay?: PopoverPosition | PopoverPosition[];
/**
* Persistent the popover, if set to true the popover will not close when clicked outside
* @default false
*/
persistent?: boolean;
className?: string;
}
export type RefCalendar = {
clear: () => void;
};
/**
* Component Calendar
* @param onChange
* @returns object with date_start & date_end
*/
export declare const Calendar: import("react").ForwardRefExoticComponent>;