import './index.css'; import { RadioChangeEvent } from 'antd/lib/radio'; import dayjs, { Dayjs } from 'dayjs'; import * as React from 'react'; export interface IPageHeaderWithDatePickerProps { title: string; rightLabel?: string; showRangePicker?: boolean; showDateGroup?: boolean; showMonthPicker?: boolean; extraEle?: JSX.Element; rangePickerValue?: [Dayjs, Dayjs]; onBack?: () => void; onFilter?: () => void; onDateChange?: (from: string, to: string) => void; } export interface IPageHeaderWithDatePickerState { rangePickerValue: [Dayjs, Dayjs]; radioValue: 'in-week' | 'in-month' | 'in-year' | null; } export declare class PageHeaderWithDatePicker extends React.PureComponent { constructor(props: IPageHeaderWithDatePickerProps); onRangePickerChange: (dates: Dayjs[], dateString: string[]) => void; onRadioChange: (e: RadioChangeEvent) => void; disabledDate: (current: dayjs.Dayjs) => boolean; render(): JSX.Element; }