import { default as React } from 'react'; import { AlertPropsWithDates } from './Timeframe'; import { TimeframeProps } from './TimeframesType'; export type TimeframeFilterProps = { /** Function to be called when an option is clicked */ callout: () => void; /** Selected time frame */ timeframe: TimeframeProps; /** historical time frame options in a array */ historicalTimeframes?: TimeframeProps[]; /** Show/hide the Current timeframe sections based on this boolean value */ currentTimeframe?: boolean; /** Show/hide the Quarterly/Yearly timeframe sections based on this boolean value */ quarterlyTimeframe?: boolean; alertProps?: AlertPropsWithDates; /** Current path from the router */ currentPath?: string; /** Optional prop to add a test id to the TimeframeFilter for QA testing */ qaTestId?: string; }; /** @deprecated */ declare const TimeframeFilter: ({ alertProps, callout, historicalTimeframes, timeframe, currentTimeframe, quarterlyTimeframe, currentPath, qaTestId, }: TimeframeFilterProps) => React.JSX.Element; export default TimeframeFilter;