///
export type { DatePickerProps, RangePickerProps, MonthPickerProps, YearPickerProps, WeekPickerProps, } from './types';
declare const _default: import("../config-provider/types").ConfiguredComponentClass> & Readonly boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
defaultVisible: boolean;
onChange: () => void;
onVisibleChange: () => void;
onOk: () => void;
}, never>>;
onValueChange: (newValue: import("moment").Moment | null, handler?: "onChange" | "onOk") => void;
onSelectCalendarPanel: (value: import("moment").Moment) => void;
onSelectTimePanel: (value: import("moment").Moment) => void;
clearValue: () => void;
onDateInputChange: (inputStr: string | null | undefined, e: import("react").UIEvent, eventType?: string | undefined) => void;
onTimeInputChange: (inputStr: string) => void;
onDateInputBlur: () => void;
onTimeInputBlur: () => void;
onKeyDown: (e: import("react").KeyboardEvent) => void;
onTimeKeyDown: (e: import("react").KeyboardEvent) => void;
handleChange: (newValue: import("moment").Moment | null, prevValue: import("moment").Moment | null, others?: {}) => void;
onFoucsDateInput: () => void;
onFoucsTimeInput: () => void;
onVisibleChange: (visible: boolean, type: string) => void;
changePanel: (panel: import("./types").PanelType) => void;
onOk: (value?: import("moment").Moment | null | undefined) => void;
renderPreview(others: import("react").HTMLAttributes): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").DatePickerState | ((prevState: Readonly, props: Readonly) => import("./types").DatePickerState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}> & {
RangePicker: import("../config-provider/types").ConfiguredComponentClass> & Readonly boolean;
footerRender: () => null;
hasClear: boolean;
defaultVisible: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
disableChangeMode: boolean;
onChange: () => void;
onOk: () => void;
onVisibleChange: () => void;
}, never>>;
startDateInputRef: import("react").RefObject> & Pick, "focus" | "getInputNode">>;
endDateInputRef: import("react").RefObject> & Pick, "focus" | "getInputNode">>;
autoSwitchDateInput: boolean;
onValueChange: (values: (import("moment").Moment | null | undefined)[], handler?: "onChange" | "onOk") => void;
onSelectCalendarPanel: (value: import("moment").Moment, active?: "startValue" | "endValue" | "startTime" | "endTime" | undefined) => void;
clearRange: () => void;
onDateInputChange: (inputStr: string, e: import("react").SyntheticEvent, eventType?: string | undefined) => void;
onDateInputBlur: () => void;
onDateInputKeyDown: (e: import("react").KeyboardEvent) => void;
onFocusDateInput: (type: "startValue" | "endValue" | "startTime" | "endTime" | undefined) => void;
onFocusTimeInput: (type: "startValue" | "endValue" | "startTime" | "endTime" | undefined) => void;
onSelectStartTime: (value: import("moment").Moment) => void;
onSelectEndTime: (value: import("moment").Moment) => void;
onTimeInputChange: (inputStr: string) => void;
onTimeInputBlur: () => void;
onTimeInputKeyDown: (e: import("react").KeyboardEvent) => void;
handleChange: (valueName: "startValue" | "endValue", newValue?: import("moment").Moment | null | undefined) => void;
onVisibleChange: (visible: boolean, type: string) => void;
changePanel: (panel: import("./types").PanelType) => void;
onOk: (value?: (import("moment").Moment | null | undefined)[] | undefined) => void;
getDisabledTime: ({ startValue, endValue, }: {
startValue?: import("moment").Moment | null | undefined;
endValue?: import("moment").Moment | null | undefined;
} & Record) => {};
enableAutoSwitchDateInput: () => void;
afterOpen: () => void;
renderPreview([startValue, endValue]: [import("moment").Moment | null, import("moment").Moment | null], others: import("react").HTMLAttributes): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").RangePickerState | ((prevState: Readonly, props: Readonly) => import("./types").RangePickerState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}>;
MonthPicker: import("../config-provider/types").ConfiguredComponentClass> & Readonly boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
onChange: () => void;
onVisibleChange: () => void;
}, never>>;
onValueChange: (newValue: import("moment").Moment | null) => void;
onSelectCalendarPanel: (value: import("moment").Moment) => void;
clearValue: () => void;
onDateInputChange: (inputStr: string, e: import("react").SyntheticEvent, eventType?: string | undefined) => void;
onDateInputBlur: () => void;
onKeyDown: (e: import("react").KeyboardEvent) => void;
handleChange: (newValue: import("moment").Moment | null, prevValue: import("moment").Moment | null, others?: {}, callback?: (() => void) | undefined) => void;
onVisibleChange: (visible: boolean, type: string) => void;
renderPreview(others: import("react").HTMLAttributes): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").MonthPickerState | ((prevState: Readonly, props: Readonly) => import("./types").MonthPickerState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}>;
YearPicker: import("../config-provider/types").ConfiguredComponentClass> & Readonly boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
onChange: () => void;
onVisibleChange: () => void;
}, never>>;
onValueChange: (newValue: import("moment").Moment | null) => void;
onSelectCalendarPanel: (value: import("moment").Moment) => void;
clearValue: () => void;
onDateInputChange: (inputStr: string, e: import("react").SyntheticEvent, eventType?: string | undefined) => void;
onDateInputBlur: () => void;
onKeyDown: (e: import("react").KeyboardEvent) => void;
handleChange: (newValue: import("moment").Moment | null, prevValue: import("moment").Moment | null, others?: {}, callback?: (() => void) | undefined) => void;
onVisibleChange: (visible: boolean, reason: string) => void;
renderPreview(others: import("react").HTMLAttributes): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").YearPickerState | ((prevState: Readonly, props: Readonly) => import("./types").YearPickerState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}>;
WeekPicker: import("../config-provider/types").ConfiguredComponentClass> & Readonly boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
defaultVisible: boolean;
onChange: () => void;
onVisibleChange: () => void;
}, never>>;
handleChange: (newValue: import("moment").Moment | null, prevValue: import("moment").Moment | null) => void;
onDateInputChange: (value: import("moment").Moment | null, e: import("react").SyntheticEvent, eventType: string) => void;
onKeyDown: (e: import("react").KeyboardEvent) => void;
onVisibleChange: (visible: boolean, type: string) => void;
onSelectCalendarPanel: (value: import("moment").Moment | null) => void;
renderPreview(others: import("react").HTMLAttributes): import("react").JSX.Element;
dateRender: (value: import("moment").Moment) => import("react").ReactNode;
render(): import("react").JSX.Element;
context: any;
setState(state: import("./types").WeekPickerState | ((prevState: Readonly, props: Readonly) => import("./types").WeekPickerState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
}, {}>;
};
export default _default;