import { DatePickerProps, RangePickerProps } from 'antd/es/date-picker'; import moment from 'moment'; interface ICertValidityValuePropsType { dateTime?: moment.Moment | string; forever?: string; } interface ICertValidityRangeValuePropsType { startTime?: moment.Moment | string; endTime?: moment.Moment | string; forever?: string; } interface IProCertValidityExtraPropsType { value: ICertValidityValuePropsType | ICertValidityRangeValuePropsType | string; disabled?: boolean; isRange?: boolean; getPopupContainer?: ((node: HTMLElement) => HTMLElement) & ((node: HTMLElement) => Node & ParentNode); } export declare type ProCertValidityPropsType = (DatePickerProps & IProCertValidityExtraPropsType) | (RangePickerProps & IProCertValidityExtraPropsType); export {};