import { ComparisonDatePickerProps, SelectionStateBase } from './ComparisonDatePicker'; import { SideDrawerBase } from '../../SideDrawer/SideDrawer'; import { AlertPropsWithDates } from '../Timeframe'; import * as React from 'react'; type ComparisonDatePickerPopupProps = ComparisonDatePickerProps & { /** method will receive two values, `selectionState` and `selectionStateDispatch`; (selectionState, selectionStateDispatch) => void */ onApply: OnApply; /** indicates if the custom date range has been selected with valid dates */ selectedCustomDateRange?: boolean; /** Optionally add a layer position to the drawer to allow layered drawers. The number here will * be the position in the stack of SideDrawer layers if there are multiple SideDrawers that * need to be displayed. NOTE: Omit this prop if there is only 1 SideDrawer layer. This is * important for styling. */ sideDrawerLayerPosition?: number; /** Passes any optional SideDrawer props to the ComparisonDatePicker SideDrawer */ cdpSideDrawerProps?: Omit; alertProps?: AlertPropsWithDates; /** Label for the first range */ firstRangeLabel?: string; /** Label for the second range */ secondRangeLabel?: string; }; export declare function ComparisonDatePickerPopup(props: ComparisonDatePickerPopupProps): React.JSX.Element; type OnApply = (dates: SelectionStateBase) => void; export {};