import React from 'react'; import PT from 'prop-types'; import { type Dayjs } from 'dayjs'; import Input, { type InputProps } from '../../input'; import type { DateInputProps } from '../types'; declare class DateInput extends React.Component { static propTypes: { prefix: PT.Requireable; rtl: PT.Requireable; locale: PT.Requireable; value: PT.Requireable>; inputType: PT.Requireable; format: (props: Record, propName: string, componentName: string) => void; isRange: PT.Requireable; hasClear: PT.Requireable; onInputTypeChange: PT.Requireable<(...args: any[]) => any>; autoFocus: PT.Requireable; readOnly: (props: Record, propName: string, componentName: string) => void; placeholder: (props: Record, propName: string, componentName: string) => void; size: PT.Requireable; focus: PT.Requireable; hasBorder: PT.Requireable; onKeyDown: PT.Requireable<(...args: any[]) => any>; onClick: PT.Requireable<(...args: any[]) => any>; separator: PT.Requireable; disabled: (props: Record, propName: string, componentName: string) => void; inputProps: PT.Requireable; label: PT.Requireable; }; static defaultProps: { autoFocus: boolean; readOnly: boolean; hasClear: boolean; separator: string; hasBorder: boolean; size: string; }; prefixCls: string; input?: InstanceType | InstanceType[]; constructor(props: DateInputProps); setInputRef: (el: InstanceType, index?: number) => void; setValue: (v: string | number | null) => string | number | (string | number | null)[] | null; formatter: (v: Dayjs) => string | Dayjs; onInput: InputProps['onChange']; handleTypeChange: (inputType: number) => void; getPlaceholder: () => string | string[] | undefined; /** * 根据 format 计算输入框 htmlSize */ getHtmlSize: () => string; render(): React.JSX.Element; } declare const _default: typeof DateInput; export default _default;