///
import type { RangePickerProps } from 'antd/lib/date-picker';
import type { Moment } from 'moment';
export declare type DurationPickerValue = {
type: string;
option: string;
dates: string[];
};
declare type DateType = {
label: string;
value: string;
};
declare type Option = {
label: string;
value: () => Moment[];
id?: string;
};
export interface DurationPickerProps extends Omit {
prefixCls?: string;
types: DateType[];
options?: Option[] | 'year';
dateFormat?: string;
value?: DurationPickerValue;
hideType?: boolean;
onChange?: (value: DurationPickerValue) => void;
disabled?: boolean;
showTime?: boolean;
}
declare function DurationPicker(originalProps: DurationPickerProps): JSX.Element;
export default DurationPicker;