/// import * as React$1 from 'react'; import React__default, { ComponentClass, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, ReactNode, CSSProperties, FC } from 'react'; import { FormProps as FormProps$1 } from 'rc-field-form/lib/Form'; import { Options } from 'scroll-into-view-if-needed'; import { FormInstance as FormInstance$1, useWatch } from 'rc-field-form'; import { NamePath, InternalNamePath, ValidateMessages, StoreValue, ValidatorRule } from 'rc-field-form/lib/interface'; export { Rule as FormRule } from 'rc-field-form/lib/interface'; import { Locale as Locale$1 } from 'rc-picker/lib/interface'; import { PickerTimeProps as PickerTimeProps$1, PickerDateProps as PickerDateProps$1, PickerBaseProps as PickerBaseProps$1 } from 'rc-picker/lib/Picker'; import { RangePickerTimeProps as RangePickerTimeProps$1, RangePickerBaseProps as RangePickerBaseProps$1, RangePickerDateProps as RangePickerDateProps$1 } from 'rc-picker/lib/RangePicker'; import { Moment } from 'moment'; import { PaginationProps as PaginationProps$1, PaginationLocale } from 'rc-pagination'; import { ColumnType as ColumnType$1, FixedType, RenderedCell } from 'rc-table/lib/interface'; import { placements } from 'rc-tooltip/lib/placements'; import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip'; import { UploadProps as UploadProps$1, UploadRequestOption, RcFile as RcFile$1 } from 'rc-upload/lib/interface'; import * as memoize_one from 'memoize-one'; import * as rc_select_lib_Option from 'rc-select/lib/Option'; import { BaseSelectRef, Option as Option$1, OptGroup, SelectProps as SelectProps$1 } from 'rc-select'; export { BaseSelectRef as RefSelectProps } from 'rc-select'; import { BaseOptionType, DefaultOptionType } from 'rc-select/lib/Select'; import * as rc_tabs from 'rc-tabs'; import { TabsProps as TabsProps$1 } from 'rc-tabs'; export { TabPaneProps } from 'rc-tabs'; import { Settings } from '@ant-design/react-slick'; import { DefaultOptionType as DefaultOptionType$1, BaseOptionType as BaseOptionType$1, SingleCascaderProps as SingleCascaderProps$1, MultipleCascaderProps as MultipleCascaderProps$1 } from 'rc-cascader'; import { DrawerProps as DrawerProps$1 } from 'rc-drawer'; import { FormProviderProps as FormProviderProps$1 } from 'rc-field-form/lib/FormContext'; import { FieldProps } from 'rc-field-form/lib/Field'; import { ValidateStatus as ValidateStatus$1 } from 'antd/es/form/FormItem'; import { ImageProps } from 'rc-image'; export { ImageProps } from 'rc-image'; import { GroupConsumerProps } from 'rc-image/lib/PreviewGroup'; import { InputProps as InputProps$1, InputRef } from 'rc-input'; export { InputRef } from 'rc-input'; import { TextAreaProps as TextAreaProps$1 } from 'rc-textarea'; import ResizableTextArea, { AutoSizeType } from 'rc-textarea/lib/ResizableTextArea'; import { InputNumberProps as InputNumberProps$1 } from 'rc-input-number'; import * as rc_mentions_lib_Option from 'rc-mentions/lib/Option'; import { MentionsProps } from 'rc-mentions/lib/Mentions'; import { MenuItemProps as MenuItemProps$1, MenuProps as MenuProps$1, ItemGroup, MenuRef } from 'rc-menu'; import { MenuItemType as MenuItemType$1, SubMenuType as SubMenuType$1, MenuItemGroupType as MenuItemGroupType$1, MenuDividerType as MenuDividerType$1 } from 'rc-menu/lib/interface'; import * as _ant_design_icons_lib_components_AntdIcon from '@ant-design/icons/lib/components/AntdIcon'; import { RateProps as RateProps$1 } from 'rc-rate/lib/Rate'; import { SegmentedProps as SegmentedProps$1, SegmentedRawOption, SegmentedLabeledOption as SegmentedLabeledOption$1 } from 'rc-segmented'; import { SliderProps } from 'rc-slider'; import RcSteps from 'rc-steps'; import { ProgressDotRender } from 'rc-steps/lib/Steps'; import RcTable, { Summary } from 'rc-table'; import { TableProps as TableProps$1 } from 'rc-table/lib/Table'; import RcTree, { BasicDataNode, TreeProps as TreeProps$1, TreeNode } from 'rc-tree'; import { DataNode, Key as Key$1 } from 'rc-tree/lib/interface'; export { DataNode as TreeDataNode } from 'rc-tree/lib/interface'; import { TreeSelectProps as TreeSelectProps$1, TreeNode as TreeNode$1, SHOW_ALL, SHOW_PARENT, SHOW_CHILD } from 'rc-tree-select'; import { BaseOptionType as BaseOptionType$2, DefaultOptionType as DefaultOptionType$2 } from 'rc-tree-select/lib/TreeSelect'; declare type SizeType = 'small' | 'middle' | 'large' | undefined; declare const SizeContext: React$1.Context; declare type ColSpanType = number | string; declare type FlexType = number | 'none' | 'auto' | string; interface ColSize { flex?: FlexType; span?: ColSpanType; order?: ColSpanType; offset?: ColSpanType; push?: ColSpanType; pull?: ColSpanType; } interface ColProps extends React$1.HTMLAttributes { flex?: FlexType; span?: ColSpanType; order?: ColSpanType; offset?: ColSpanType; push?: ColSpanType; pull?: ColSpanType; xs?: ColSpanType | ColSize; sm?: ColSpanType | ColSize; md?: ColSpanType | ColSize; lg?: ColSpanType | ColSize; xl?: ColSpanType | ColSize; xxl?: ColSpanType | ColSize; prefixCls?: string; } declare const Col: React$1.ForwardRefExoticComponent>; declare type FormLabelAlign = 'left' | 'right'; interface FormInstance extends FormInstance$1 { scrollToField: (name: NamePath, options?: Options) => void; /** This is an internal usage. Do not use in your prod */ __INTERNAL__: { /** No! Do not use this in your code! */ name?: string; /** No! Do not use this in your code! */ itemRef: (name: InternalNamePath) => (node: React$1.ReactElement) => void; }; getFieldInstance: (name: NamePath) => any; } declare function useForm(form?: FormInstance): [FormInstance]; declare type RequiredMark = boolean | 'optional'; declare type FormLayout = 'horizontal' | 'inline' | 'vertical'; interface FormProps extends Omit, 'form'> { prefixCls?: string; colon?: boolean; name?: string; layout?: FormLayout; labelAlign?: FormLabelAlign; labelWrap?: boolean; labelCol?: ColProps; wrapperCol?: ColProps; form?: FormInstance; size?: SizeType; disabled?: boolean; scrollToFirstError?: Options | boolean; requiredMark?: RequiredMark; /** @deprecated Will warning in future branch. Pls use `requiredMark` instead. */ hideRequiredMark?: boolean; } declare const Form$1: (props: FormProps & { children?: React$1.ReactNode; } & { ref?: React$1.Ref> | undefined; }) => React$1.ReactElement; interface CommonPickerMethods { focus: () => void; blur: () => void; } interface PickerComponentClass

extends ComponentClass { new (...args: ConstructorParameters>): InstanceType> & CommonPickerMethods; } declare type UseFormItemStatus = () => { status?: ValidateStatus$1; }; declare const useFormItemStatus: UseFormItemStatus; interface FormItemInputProps { wrapperCol?: ColProps; extra?: React$1.ReactNode; status?: ValidateStatus; help?: React$1.ReactNode; } /** * https://stackoverflow.com/a/59187769 Extract the type of an element of an array/tuple without * performing indexing */ declare type ElementOf = T extends (infer E)[] ? E : T extends readonly (infer F)[] ? F : never; /** https://github.com/Microsoft/TypeScript/issues/29729 */ declare type LiteralUnion = T | (U & {}); declare const PresetStatusColorTypes: ["success", "processing", "error", "default", "warning"]; declare const PresetColorTypes: ["pink", "red", "yellow", "orange", "cyan", "green", "blue", "purple", "geekblue", "magenta", "volcano", "gold", "lime"]; declare type PresetColorType = ElementOf; declare type PresetStatusColorType = ElementOf; interface AdjustOverflow { adjustX?: 0 | 1; adjustY?: 0 | 1; } declare type TooltipPlacement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom'; interface AbstractTooltipProps extends Partial> { style?: React$1.CSSProperties; className?: string; color?: LiteralUnion; placement?: TooltipPlacement; builtinPlacements?: typeof placements; openClassName?: string; arrowPointAtCenter?: boolean; autoAdjustOverflow?: boolean | AdjustOverflow; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; children?: React$1.ReactNode; } declare type RenderFunction$1 = () => React$1.ReactNode; interface TooltipPropsWithOverlay extends AbstractTooltipProps { title?: React$1.ReactNode | RenderFunction$1; overlay?: React$1.ReactNode | RenderFunction$1; } interface TooltipPropsWithTitle extends AbstractTooltipProps { title: React$1.ReactNode | RenderFunction$1; overlay?: React$1.ReactNode | RenderFunction$1; } declare type TooltipProps = TooltipPropsWithTitle | TooltipPropsWithOverlay; declare const Tooltip: React$1.ForwardRefExoticComponent>; declare type WrapperTooltipProps = TooltipProps & { icon?: React$1.ReactElement; }; declare type LabelTooltipType = WrapperTooltipProps | React$1.ReactNode; interface FormItemLabelProps { colon?: boolean; htmlFor?: string; label?: React$1.ReactNode; labelAlign?: FormLabelAlign; labelCol?: ColProps; requiredMark?: RequiredMark; tooltip?: LabelTooltipType; } declare const ValidateStatuses: ["success", "warning", "error", "validating", ""]; declare type ValidateStatus = typeof ValidateStatuses[number]; declare type RenderChildren = (form: FormInstance$1) => React$1.ReactNode; declare type RcFieldProps = Omit, 'children'>; declare type ChildrenType = RenderChildren | React$1.ReactNode; interface FormItemProps extends FormItemLabelProps, FormItemInputProps, RcFieldProps { prefixCls?: string; noStyle?: boolean; style?: React$1.CSSProperties; className?: string; children?: ChildrenType; id?: string; hasFeedback?: boolean; validateStatus?: ValidateStatus; required?: boolean; hidden?: boolean; initialValue?: any; messageVariables?: Record; tooltip?: LabelTooltipType; /** @deprecated No need anymore */ fieldKey?: React$1.Key | React$1.Key[]; } declare function InternalFormItem(props: FormItemProps): React$1.ReactElement; declare type InternalFormItemType = typeof InternalFormItem; interface FormItemInterface extends InternalFormItemType { useStatus: typeof useFormItemStatus; } declare const FormItem: FormItemInterface; declare const InputStatuses: ["warning", "error", ""]; declare type InputStatus = typeof InputStatuses[number]; interface TimePickerLocale { placeholder?: string; rangePlaceholder?: [string, string]; } interface TimeRangePickerProps extends Omit, 'picker'> { popupClassName?: string; } declare const RangePicker: React$1.ForwardRefExoticComponent>; interface TimePickerProps extends Omit, 'picker'> { addon?: () => React$1.ReactNode; popupClassName?: string; status?: InputStatus; } declare const TimePicker: React$1.ForwardRefExoticComponent>; declare type MergedTimePicker = typeof TimePicker & { RangePicker: typeof RangePicker; }; declare const _default$d: MergedTimePicker; interface ButtonGroupProps { size?: SizeType; style?: React$1.CSSProperties; className?: string; prefixCls?: string; children?: React$1.ReactNode; } declare const ButtonGroup: React$1.FC; declare const ButtonTypes: ["default", "primary", "ghost", "dashed", "link", "text"]; declare type ButtonType = typeof ButtonTypes[number]; declare const ButtonShapes: ["default", "circle", "round"]; declare type ButtonShape = typeof ButtonShapes[number]; declare const ButtonHTMLTypes: ["submit", "button", "reset"]; declare type ButtonHTMLType = typeof ButtonHTMLTypes[number]; declare type LegacyButtonType = ButtonType | 'danger'; interface BaseButtonProps { type?: ButtonType; icon?: React$1.ReactNode; /** * Shape of Button * * @default default */ shape?: ButtonShape; size?: SizeType; disabled?: boolean; loading?: boolean | { delay?: number; }; prefixCls?: string; className?: string; ghost?: boolean; danger?: boolean; block?: boolean; children?: React$1.ReactNode; } declare type AnchorButtonProps = { href: string; target?: string; onClick?: React$1.MouseEventHandler; } & BaseButtonProps & Omit, 'type' | 'onClick'>; declare type NativeButtonProps = { htmlType?: ButtonHTMLType; onClick?: React$1.MouseEventHandler; } & BaseButtonProps & Omit, 'type' | 'onClick'>; declare type ButtonProps = Partial; interface CompoundedComponent$8 extends React$1.ForwardRefExoticComponent> { Group: typeof ButtonGroup; __ANT_BUTTON: boolean; } declare const Button: CompoundedComponent$8; interface CheckableTagProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; /** * It is an absolute controlled component and has no uncontrolled mode. * * .zh-cn 该组件为完全受控组件,不支持非受控用法。 */ checked: boolean; children?: React$1.ReactNode; onChange?: (checked: boolean) => void; onClick?: (e: React$1.MouseEvent) => void; } declare const CheckableTag: React$1.FC; interface TagProps extends React$1.HTMLAttributes { prefixCls?: string; className?: string; color?: LiteralUnion; closable?: boolean; closeIcon?: React$1.ReactNode; visible?: boolean; onClose?: (e: React$1.MouseEvent) => void; style?: React$1.CSSProperties; icon?: React$1.ReactNode; } interface TagType extends React$1.ForwardRefExoticComponent> { CheckableTag: typeof CheckableTag; } declare const Tag: TagType; declare const DataPickerPlacements: ["bottomLeft", "bottomRight", "topLeft", "topRight"]; declare type DataPickerPlacement = typeof DataPickerPlacements[number]; declare type InjectDefaultProps = Omit & { locale?: PickerLocale; size?: SizeType; placement?: DataPickerPlacement; bordered?: boolean; status?: InputStatus; }; declare type PickerLocale = { lang: Locale$1 & AdditionalPickerLocaleLangProps; timePickerLocale: TimePickerLocale; } & AdditionalPickerLocaleProps; declare type AdditionalPickerLocaleProps = { dateFormat?: string; dateTimeFormat?: string; weekFormat?: string; monthFormat?: string; }; declare type AdditionalPickerLocaleLangProps = { placeholder: string; yearPlaceholder?: string; quarterPlaceholder?: string; monthPlaceholder?: string; weekPlaceholder?: string; rangeYearPlaceholder?: [string, string]; rangeQuarterPlaceholder?: [string, string]; rangeMonthPlaceholder?: [string, string]; rangeWeekPlaceholder?: [string, string]; rangePlaceholder?: [string, string]; }; declare type PickerBaseProps = InjectDefaultProps>; declare type PickerDateProps = InjectDefaultProps>; declare type PickerTimeProps = InjectDefaultProps>; declare type PickerProps = PickerBaseProps | PickerDateProps | PickerTimeProps; declare type RangePickerBaseProps = InjectDefaultProps>; declare type RangePickerDateProps = InjectDefaultProps>; declare type RangePickerTimeProps = InjectDefaultProps>; declare type RangePickerProps = RangePickerBaseProps | RangePickerDateProps | RangePickerTimeProps; interface TransferLocale$1 { description: string; } interface EmptyProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; /** @since 3.16.0 */ imageStyle?: React$1.CSSProperties; image?: React$1.ReactNode; description?: React$1.ReactNode; children?: React$1.ReactNode; } interface EmptyType extends React$1.FC { PRESENTED_IMAGE_DEFAULT: React$1.ReactNode; PRESENTED_IMAGE_SIMPLE: React$1.ReactNode; } declare const Empty: EmptyType; interface ModalLocale { okText: string; cancelText: string; justOkText: string; } interface PaginationProps extends PaginationProps$1 { showQuickJumper?: boolean | { goButton?: React$1.ReactNode; }; size?: 'default' | 'small'; responsive?: boolean; role?: string; totalBoundaryShowSizeChanger?: number; } declare type PaginationPosition = 'top' | 'bottom' | 'both'; interface PaginationConfig extends PaginationProps { position?: PaginationPosition; } declare const Pagination: React$1.FC; declare type RenderFunction = () => React$1.ReactNode; interface PopconfirmProps extends AbstractTooltipProps { title: React$1.ReactNode | RenderFunction; disabled?: boolean; onConfirm?: (e?: React$1.MouseEvent) => void; onCancel?: (e?: React$1.MouseEvent) => void; okText?: React$1.ReactNode; okType?: LegacyButtonType; cancelText?: React$1.ReactNode; okButtonProps?: ButtonProps; cancelButtonProps?: ButtonProps; showCancel?: boolean; icon?: React$1.ReactNode; onVisibleChange?: (visible: boolean, e?: React$1.MouseEvent | React$1.KeyboardEvent) => void; } declare const Popconfirm: React$1.ForwardRefExoticComponent>; interface PopconfirmLocale { okText: string; cancelText: string; } interface AbstractCheckboxProps { prefixCls?: string; className?: string; defaultChecked?: boolean; checked?: boolean; style?: React$1.CSSProperties; disabled?: boolean; onChange?: (e: T) => void; onClick?: React$1.MouseEventHandler; onMouseEnter?: React$1.MouseEventHandler; onMouseLeave?: React$1.MouseEventHandler; onKeyPress?: React$1.KeyboardEventHandler; onKeyDown?: React$1.KeyboardEventHandler; value?: any; tabIndex?: number; name?: string; children?: React$1.ReactNode; id?: string; autoFocus?: boolean; type?: string; skipGroup?: boolean; } interface CheckboxChangeEventTarget extends CheckboxProps { checked: boolean; } interface CheckboxChangeEvent { target: CheckboxChangeEventTarget; stopPropagation: () => void; preventDefault: () => void; nativeEvent: MouseEvent; } interface CheckboxProps extends AbstractCheckboxProps { indeterminate?: boolean; } declare type CheckboxValueType = string | number | boolean; interface CheckboxOptionType { label: React$1.ReactNode; value: CheckboxValueType; style?: React$1.CSSProperties; disabled?: boolean; onChange?: (e: CheckboxChangeEvent) => void; } interface AbstractCheckboxGroupProps { prefixCls?: string; className?: string; options?: Array; disabled?: boolean; style?: React$1.CSSProperties; } interface CheckboxGroupProps extends AbstractCheckboxGroupProps { name?: string; defaultValue?: Array; value?: Array; onChange?: (checkedValue: Array) => void; children?: React$1.ReactNode; } declare const _default$c: React$1.MemoExoticComponent>>; interface CompoundedComponent$7 extends React$1.ForwardRefExoticComponent> { Group: typeof _default$c; __ANT_CHECKBOX: boolean; } declare const Checkbox: CompoundedComponent$7; declare type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs'; declare type ScreenSizeMap = Partial>; declare const SELECTION_COLUMN: {}; declare const SELECTION_ALL: "SELECT_ALL"; declare const SELECTION_INVERT: "SELECT_INVERT"; declare const SELECTION_NONE: "SELECT_NONE"; declare type INTERNAL_SELECTION_ITEM = SelectionItem | typeof SELECTION_ALL | typeof SELECTION_INVERT | typeof SELECTION_NONE; declare type Key = React$1.Key; declare type RowSelectionType = 'checkbox' | 'radio'; declare type SelectionItemSelectFn = (currentRowKeys: Key[]) => void; interface TableLocale { filterTitle?: string; filterConfirm?: React$1.ReactNode; filterReset?: React$1.ReactNode; filterEmptyText?: React$1.ReactNode; filterCheckall?: React$1.ReactNode; filterSearchPlaceholder?: string; emptyText?: React$1.ReactNode | (() => React$1.ReactNode); selectAll?: React$1.ReactNode; selectNone?: React$1.ReactNode; selectInvert?: React$1.ReactNode; selectionAll?: React$1.ReactNode; sortTitle?: string; expand?: string; collapse?: string; triggerDesc?: string; triggerAsc?: string; cancelSort?: string; } declare type SortOrder = 'descend' | 'ascend' | null; declare const TableActions: ["paginate", "sort", "filter"]; declare type TableAction = typeof TableActions[number]; declare type CompareFn = (a: T, b: T, sortOrder?: SortOrder) => number; interface ColumnFilterItem { text: React$1.ReactNode; value: string | number | boolean; children?: ColumnFilterItem[]; } interface ColumnTitleProps { /** @deprecated Please use `sorterColumns` instead. */ sortOrder?: SortOrder; /** @deprecated Please use `sorterColumns` instead. */ sortColumn?: ColumnType; sortColumns?: { column: ColumnType; order: SortOrder; }[]; filters?: Record; } declare type ColumnTitle = React$1.ReactNode | ((props: ColumnTitleProps) => React$1.ReactNode); declare type FilterValue = (Key | boolean)[]; declare type FilterSearchType = boolean | ((input: string, record: {}) => boolean); interface FilterConfirmProps { closeDropdown: boolean; } interface FilterDropdownProps { prefixCls: string; setSelectedKeys: (selectedKeys: React$1.Key[]) => void; selectedKeys: React$1.Key[]; confirm: (param?: FilterConfirmProps) => void; clearFilters?: () => void; filters?: ColumnFilterItem[]; visible: boolean; } interface ColumnType extends Omit, 'title'> { title?: ColumnTitle; sorter?: boolean | CompareFn | { compare?: CompareFn; /** Config multiple sorter order priority */ multiple?: number; }; sortOrder?: SortOrder; defaultSortOrder?: SortOrder; sortDirections?: SortOrder[]; showSorterTooltip?: boolean | TooltipProps; filtered?: boolean; filters?: ColumnFilterItem[]; filterDropdown?: React$1.ReactNode | ((props: FilterDropdownProps) => React$1.ReactNode); filterMultiple?: boolean; filteredValue?: FilterValue | null; defaultFilteredValue?: FilterValue | null; filterIcon?: React$1.ReactNode | ((filtered: boolean) => React$1.ReactNode); filterMode?: 'menu' | 'tree'; filterSearch?: FilterSearchType; onFilter?: (value: string | number | boolean, record: RecordType) => boolean; filterDropdownVisible?: boolean; onFilterDropdownVisibleChange?: (visible: boolean) => void; filterResetToDefaultFilteredValue?: boolean; responsive?: Breakpoint[]; } interface ColumnGroupType extends Omit, 'dataIndex'> { children: ColumnsType; } declare type ColumnsType = (ColumnGroupType | ColumnType)[]; interface SelectionItem { key: string; text: React$1.ReactNode; onSelect?: SelectionItemSelectFn; } declare type SelectionSelectFn = (record: T, selected: boolean, selectedRows: T[], nativeEvent: Event) => void; declare type RowSelectMethod = 'all' | 'none' | 'invert' | 'single' | 'multiple'; interface TableRowSelection { /** Keep the selection keys in list even the key not exist in `dataSource` anymore */ preserveSelectedRowKeys?: boolean; type?: RowSelectionType; selectedRowKeys?: Key[]; defaultSelectedRowKeys?: Key[]; onChange?: (selectedRowKeys: Key[], selectedRows: T[], info: { type: RowSelectMethod; }) => void; getCheckboxProps?: (record: T) => Partial>; onSelect?: SelectionSelectFn; /** @deprecated This function is deprecated and should use `onChange` instead */ onSelectMultiple?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void; /** @deprecated This function is deprecated and should use `onChange` instead */ onSelectAll?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void; /** @deprecated This function is deprecated and should use `onChange` instead */ onSelectInvert?: (selectedRowKeys: Key[]) => void; /** @deprecated This function is deprecated and should use `onChange` instead */ onSelectNone?: () => void; selections?: INTERNAL_SELECTION_ITEM[] | boolean; hideSelectAll?: boolean; fixed?: FixedType; columnWidth?: string | number; columnTitle?: string | React$1.ReactNode; checkStrictly?: boolean; renderCell?: (value: boolean, record: T, index: number, originNode: React$1.ReactNode) => React$1.ReactNode | RenderedCell; } interface TableCurrentDataSource { currentDataSource: RecordType[]; action: TableAction; } interface SorterResult { column?: ColumnType; order?: SortOrder; field?: Key | readonly Key[]; columnKey?: Key; } declare type GetPopupContainer = (triggerNode: HTMLElement) => HTMLElement; declare type TablePaginationPosition = 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight'; interface TablePaginationConfig extends PaginationProps { position?: TablePaginationPosition[]; } interface TransferOperationProps { className?: string; leftArrowText?: string; rightArrowText?: string; moveToLeft?: React$1.MouseEventHandler; moveToRight?: React$1.MouseEventHandler; leftActive?: boolean; rightActive?: boolean; style?: React$1.CSSProperties; disabled?: boolean; direction?: DirectionType; oneWay?: boolean; } declare type PaginationType = boolean | { pageSize?: number; simple?: boolean; showSizeChanger?: boolean; showLessItems?: boolean; }; declare const OmitProps: ["handleFilter", "handleClear", "checkedKeys"]; declare type OmitProp = ElementOf; declare type PartialTransferListProps = Omit, OmitProp>; interface TransferListBodyProps extends PartialTransferListProps { filteredItems: RecordType[]; filteredRenderItems: RenderedItem[]; selectedKeys: string[]; } interface TransferListBodyState { current: number; } declare class ListBody extends React$1.Component, TransferListBodyState> { state: { current: number; }; static getDerivedStateFromProps({ filteredRenderItems, pagination }: TransferListBodyProps, { current }: TransferListBodyState): { current: number; } | null; onItemSelect: (item: RecordType) => void; onItemRemove: (item: RecordType) => void; onPageChange: (current: number) => void; getItems: () => RenderedItem[]; render(): JSX.Element; } interface RenderedItem { renderedText: string; renderedEl: React$1.ReactNode; item: RecordType; } declare type RenderListFunction = (props: TransferListBodyProps) => React$1.ReactNode; interface TransferListProps extends TransferLocale { prefixCls: string; titleText: React$1.ReactNode; dataSource: RecordType[]; filterOption?: (filterText: string, item: RecordType) => boolean; style?: React$1.CSSProperties; checkedKeys: string[]; handleFilter: (e: React$1.ChangeEvent) => void; onItemSelect: (key: string, check: boolean) => void; onItemSelectAll: (dataSource: string[], checkAll: boolean) => void; onItemRemove?: (keys: string[]) => void; handleClear: () => void; /** Render item */ render?: (item: RecordType) => RenderResult; showSearch?: boolean; searchPlaceholder: string; itemUnit: string; itemsUnit: string; renderList?: RenderListFunction; footer?: (props: TransferListProps, info?: { direction: TransferDirection; }) => React$1.ReactNode; onScroll: (e: React$1.UIEvent) => void; disabled?: boolean; direction: TransferDirection; showSelectAll?: boolean; selectAllLabel?: SelectAllLabel; showRemove?: boolean; pagination?: PaginationType; } interface TransferListState { /** Filter input value */ filterValue: string; } declare class TransferList extends React$1.PureComponent, TransferListState> { static defaultProps: { dataSource: never[]; titleText: string; showSearch: boolean; }; timer: number; triggerScrollTimer: number; defaultListBodyRef: React$1.RefObject>; constructor(props: TransferListProps); componentWillUnmount(): void; getCheckStatus(filteredItems: RecordType[]): "none" | "all" | "part"; getFilteredItems(dataSource: RecordType[], filterValue: string): { filteredItems: RecordType[]; filteredRenderItems: RenderedItem[]; }; handleFilter: (e: React$1.ChangeEvent) => void; handleClear: () => void; matchFilter: (text: string, item: RecordType) => boolean; renderListBody: (renderList: RenderListFunction | undefined, props: TransferListBodyProps) => { customize: boolean; bodyContent: React$1.ReactNode; }; getListBody(prefixCls: string, searchPlaceholder: string, filterValue: string, filteredItems: RecordType[], notFoundContent: React$1.ReactNode | React$1.ReactNode, filteredRenderItems: RenderedItem[], checkedKeys: string[], renderList?: RenderListFunction, showSearch?: boolean, disabled?: boolean): React$1.ReactNode; getCheckBox({ filteredItems, onItemSelectAll, disabled, prefixCls, }: { filteredItems: RecordType[]; onItemSelectAll: (dataSource: string[], checkAll: boolean) => void; disabled?: boolean; prefixCls?: string; }): false | JSX.Element; renderItem: (item: RecordType) => RenderedItem; getSelectAllLabel: (selectedCount: number, totalCount: number) => React$1.ReactNode; render(): JSX.Element; } interface TransferSearchProps { prefixCls?: string; placeholder?: string; onChange?: (e: React$1.FormEvent) => void; handleClear?: () => void; value?: string; disabled?: boolean; } declare function Search$1(props: TransferSearchProps): JSX.Element; declare type TransferDirection = 'left' | 'right'; interface RenderResultObject { label: React$1.ReactElement; value: string; } declare type RenderResult = React$1.ReactElement | RenderResultObject | string | null; interface TransferItem { key?: string; title?: string; description?: string; disabled?: boolean; [name: string]: any; } declare type KeyWise = T & { key: string; }; declare type KeyWiseTransferItem = KeyWise; declare type TransferRender = (item: RecordType) => RenderResult; interface ListStyle { direction: TransferDirection; } declare type SelectAllLabel = React$1.ReactNode | ((info: { selectedCount: number; totalCount: number; }) => React$1.ReactNode); interface TransferLocale { titles: React$1.ReactNode[]; notFoundContent?: React$1.ReactNode | React$1.ReactNode[]; searchPlaceholder: string; itemUnit: string; itemsUnit: string; remove: string; selectAll: string; selectCurrent: string; selectInvert: string; removeAll: string; removeCurrent: string; } interface TransferProps { prefixCls?: string; className?: string; disabled?: boolean; dataSource: RecordType[]; targetKeys?: string[]; selectedKeys?: string[]; render?: TransferRender; onChange?: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void; onSelectChange?: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void; style?: React$1.CSSProperties; listStyle?: ((style: ListStyle) => React$1.CSSProperties) | React$1.CSSProperties; operationStyle?: React$1.CSSProperties; titles?: React$1.ReactNode[]; operations?: string[]; showSearch?: boolean; filterOption?: (inputValue: string, item: RecordType) => boolean; locale?: Partial; footer?: (props: TransferListProps, info?: { direction: TransferDirection; }) => React$1.ReactNode; rowKey?: (record: RecordType) => string; onSearch?: (direction: TransferDirection, value: string) => void; onScroll?: (direction: TransferDirection, e: React$1.SyntheticEvent) => void; children?: (props: TransferListBodyProps) => React$1.ReactNode; showSelectAll?: boolean; selectAllLabels?: SelectAllLabel[]; oneWay?: boolean; pagination?: PaginationType; status?: InputStatus; } interface TransferState { sourceSelectedKeys: string[]; targetSelectedKeys: string[]; } declare class Transfer extends React$1.Component, TransferState> { static List: typeof TransferList; static Operation: ({ disabled, moveToLeft, moveToRight, leftArrowText, rightArrowText, leftActive, rightActive, className, style, direction, oneWay, }: TransferOperationProps) => JSX.Element; static Search: typeof Search$1; static defaultProps: { dataSource: never[]; locale: {}; showSearch: boolean; listStyle: () => void; }; static getDerivedStateFromProps({ selectedKeys, targetKeys, pagination, children, }: TransferProps): { sourceSelectedKeys: string[]; targetSelectedKeys: string[]; } | null; separatedDataSource: { leftDataSource: RecordType[]; rightDataSource: RecordType[]; } | null; constructor(props: TransferProps); setStateKeys: (direction: TransferDirection, keys: string[] | ((prevKeys: string[]) => string[])) => void; getTitles(transferLocale: TransferLocale): React$1.ReactNode[]; getLocale: (transferLocale: TransferLocale, renderEmpty: RenderEmptyHandler) => { titles: React$1.ReactNode[]; notFoundContent: React$1.ReactNode; searchPlaceholder: string; itemUnit: string; itemsUnit: string; remove: string; selectAll: string; selectCurrent: string; selectInvert: string; removeAll: string; removeCurrent: string; }; moveTo: (direction: TransferDirection) => void; moveToLeft: () => void; moveToRight: () => void; onItemSelectAll: (direction: TransferDirection, selectedKeys: string[], checkAll: boolean) => void; onLeftItemSelectAll: (selectedKeys: string[], checkAll: boolean) => void; onRightItemSelectAll: (selectedKeys: string[], checkAll: boolean) => void; handleFilter: (direction: TransferDirection, e: React$1.ChangeEvent) => void; handleLeftFilter: (e: React$1.ChangeEvent) => void; handleRightFilter: (e: React$1.ChangeEvent) => void; handleClear: (direction: TransferDirection) => void; handleLeftClear: () => void; handleRightClear: () => void; onItemSelect: (direction: TransferDirection, selectedKey: string, checked: boolean) => void; onLeftItemSelect: (selectedKey: string, checked: boolean) => void; onRightItemSelect: (selectedKey: string, checked: boolean) => void; onRightItemRemove: (selectedKeys: string[]) => void; handleScroll: (direction: TransferDirection, e: React$1.SyntheticEvent) => void; handleLeftScroll: (e: React$1.SyntheticEvent) => void; handleRightScroll: (e: React$1.SyntheticEvent) => void; handleSelectChange(direction: TransferDirection, holder: string[]): void; handleListStyle: (listStyle: TransferProps['listStyle'], direction: TransferDirection) => React$1.CSSProperties | undefined; separateDataSource(): { leftDataSource: KeyWise[]; rightDataSource: KeyWise[]; }; renderTransfer: (transferLocale: TransferLocale) => JSX.Element; render(): JSX.Element; } declare const ProgressTypes: ["line", "circle", "dashboard"]; declare type ProgressType = typeof ProgressTypes[number]; declare const ProgressStatuses: ["normal", "exception", "active", "success"]; declare type ProgressSize = 'default' | 'small'; declare type StringGradients = { [percentage: string]: string; }; declare type FromToGradients = { from: string; to: string; }; declare type ProgressGradient = { direction?: string; } & (StringGradients | FromToGradients); interface SuccessProps { percent?: number; /** @deprecated Use `percent` instead */ progress?: number; strokeColor?: string; } interface ProgressProps { prefixCls?: string; className?: string; type?: ProgressType; percent?: number; format?: (percent?: number, successPercent?: number) => React$1.ReactNode; status?: typeof ProgressStatuses[number]; showInfo?: boolean; strokeWidth?: number; strokeLinecap?: 'butt' | 'square' | 'round'; strokeColor?: string | string[] | ProgressGradient; trailColor?: string; width?: number; success?: SuccessProps; style?: React$1.CSSProperties; gapDegree?: number; gapPosition?: 'top' | 'bottom' | 'left' | 'right'; size?: ProgressSize; steps?: number; /** @deprecated Use `success` instead */ successPercent?: number; children?: React$1.ReactNode; } declare const Progress: React$1.FC; interface RcFile extends RcFile$1 { readonly lastModifiedDate: Date; } declare type UploadFileStatus = 'error' | 'success' | 'done' | 'uploading' | 'removed'; interface HttpRequestHeader { [key: string]: string; } interface UploadFile { uid: string; size?: number; name: string; fileName?: string; lastModified?: number; lastModifiedDate?: Date; url?: string; status?: UploadFileStatus; percent?: number; thumbUrl?: string; crossOrigin?: React$1.ImgHTMLAttributes['crossOrigin']; originFileObj?: RcFile; response?: T; error?: any; linkProps?: any; type?: string; xhr?: T; preview?: string; } interface UploadChangeParam { file: T; fileList: T[]; event?: { percent: number; }; } interface ShowUploadListInterface { showRemoveIcon?: boolean; showPreviewIcon?: boolean; showDownloadIcon?: boolean; removeIcon?: React$1.ReactNode | ((file: UploadFile) => React$1.ReactNode); downloadIcon?: React$1.ReactNode | ((file: UploadFile) => React$1.ReactNode); previewIcon?: React$1.ReactNode | ((file: UploadFile) => React$1.ReactNode); } interface UploadLocale { uploading?: string; removeFile?: string; downloadFile?: string; uploadError?: string; previewFile?: string; } declare type UploadType = 'drag' | 'select'; declare type UploadListType = 'text' | 'picture' | 'picture-card'; declare type UploadListProgressProps = Omit; declare type ItemRender = (originNode: React$1.ReactElement, file: UploadFile, fileList: Array>, actions: { download: () => void; preview: () => void; remove: () => void; }) => React$1.ReactNode; declare type PreviewFileHandler = (file: File | Blob) => PromiseLike; declare type TransformFileHandler = (file: RcFile) => string | Blob | File | PromiseLike; declare type BeforeUploadValueType = void | boolean | string | Blob | File; interface UploadProps extends Pick { type?: UploadType; name?: string; defaultFileList?: Array>; fileList?: Array>; action?: string | ((file: RcFile) => string) | ((file: RcFile) => PromiseLike); directory?: boolean; data?: Record | ((file: UploadFile) => Record | Promise>); method?: 'POST' | 'PUT' | 'PATCH' | 'post' | 'put' | 'patch'; headers?: HttpRequestHeader; showUploadList?: boolean | ShowUploadListInterface; multiple?: boolean; accept?: string; beforeUpload?: (file: RcFile, FileList: RcFile[]) => BeforeUploadValueType | Promise; onChange?: (info: UploadChangeParam>) => void; onDrop?: (event: React$1.DragEvent) => void; listType?: UploadListType; className?: string; onPreview?: (file: UploadFile) => void; onDownload?: (file: UploadFile) => void; onRemove?: (file: UploadFile) => void | boolean | Promise; supportServerRender?: boolean; style?: React$1.CSSProperties; disabled?: boolean; prefixCls?: string; customRequest?: (options: UploadRequestOption) => void; withCredentials?: boolean; openFileDialogOnClick?: boolean; locale?: UploadLocale; id?: string; previewFile?: PreviewFileHandler; /** @deprecated Please use `beforeUpload` directly */ transformFile?: TransformFileHandler; iconRender?: (file: UploadFile, listType?: UploadListType) => React$1.ReactNode; isImageUrl?: (file: UploadFile) => boolean; progress?: UploadListProgressProps; itemRender?: ItemRender; /** Config max count of `fileList`. Will replace current one when `maxCount` is 1 */ maxCount?: number; children?: React$1.ReactNode; } interface Locale { locale: string; Pagination?: PaginationLocale; DatePicker?: PickerLocale; TimePicker?: Record; Calendar?: Record; Table?: TableLocale; Modal?: ModalLocale; Popconfirm?: PopconfirmLocale; Transfer?: Partial; Select?: Record; Upload?: UploadLocale; Empty?: TransferLocale$1; global?: Record; PageHeader?: { back: string; }; Icon?: Record; Text?: { edit?: any; copy?: any; copied?: any; expand?: any; }; Form?: { optional?: string; defaultValidateMessages: ValidateMessages; }; Image?: { preview: string; }; } declare const defaultRenderEmpty: (componentName?: string) => React$1.ReactNode; declare type RenderEmptyHandler = typeof defaultRenderEmpty; interface Theme { primaryColor?: string; infoColor?: string; successColor?: string; processingColor?: string; errorColor?: string; warningColor?: string; } interface CSPConfig { nonce?: string; } declare type DirectionType = 'ltr' | 'rtl' | undefined; interface ConfigConsumerProps { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement; rootPrefixCls?: string; iconPrefixCls?: string; getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; renderEmpty?: RenderEmptyHandler; csp?: CSPConfig; autoInsertSpaceInButton?: boolean; input?: { autoComplete?: string; }; pagination?: { showSizeChanger?: boolean; }; locale?: Locale; pageHeader?: { ghost: boolean; }; direction?: DirectionType; space?: { size?: SizeType | number; }; virtual?: boolean; dropdownMatchSelectWidth?: boolean; form?: { requiredMark?: RequiredMark; colon?: boolean; }; } declare const ConfigContext: React$1.Context; interface ConfigProviderProps { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement; prefixCls?: string; iconPrefixCls?: string; children?: React$1.ReactNode; renderEmpty?: RenderEmptyHandler; csp?: CSPConfig; autoInsertSpaceInButton?: boolean; form?: { validateMessages?: ValidateMessages; requiredMark?: RequiredMark; colon?: boolean; }; input?: { autoComplete?: string; }; pagination?: { showSizeChanger?: boolean; }; locale?: Locale; pageHeader?: { ghost: boolean; }; componentSize?: SizeType; componentDisabled?: boolean; direction?: DirectionType; space?: { size?: SizeType | number; }; virtual?: boolean; dropdownMatchSelectWidth?: boolean; } declare const setGlobalConfig: ({ prefixCls, iconPrefixCls, theme, }: Pick & { theme?: Theme | undefined; }) => void; declare const ConfigProvider: React$1.FC & { ConfigContext: typeof ConfigContext; SizeContext: typeof SizeContext; config: typeof setGlobalConfig; }; interface AffixProps { /** 距离窗口顶部达到指定偏移量后触发 */ offsetTop?: number; /** 距离窗口底部达到指定偏移量后触发 */ offsetBottom?: number; style?: React$1.CSSProperties; /** 固定状态改变时触发的回调函数 */ onChange?: (affixed?: boolean) => void; /** 设置 Affix 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数 */ target?: () => Window | HTMLElement | null; prefixCls?: string; className?: string; children: React$1.ReactNode; } interface InternalAffixProps extends AffixProps { affixPrefixCls: string; } declare enum AffixStatus { None = 0, Prepare = 1 } interface AffixState { affixStyle?: React$1.CSSProperties; placeholderStyle?: React$1.CSSProperties; status: AffixStatus; lastAffix: boolean; prevTarget: Window | HTMLElement | null; } declare class Affix extends React$1.Component { static contextType: React$1.Context; state: AffixState; placeholderNode: HTMLDivElement; fixedNode: HTMLDivElement; private timeout; context: ConfigConsumerProps; private getTargetFunc; componentDidMount(): void; componentDidUpdate(prevProps: AffixProps): void; componentWillUnmount(): void; getOffsetTop: () => number | undefined; getOffsetBottom: () => number | undefined; savePlaceholderNode: (node: HTMLDivElement) => void; saveFixedNode: (node: HTMLDivElement) => void; measure: () => void; prepareMeasure: () => void; updatePosition(): void; lazyUpdatePosition(): void; render(): JSX.Element; } declare const AffixFC: React$1.ForwardRefExoticComponent>; interface ErrorBoundaryProps { message?: React$1.ReactNode; description?: React$1.ReactNode; children?: React$1.ReactNode; } declare class ErrorBoundary extends React$1.Component { state: { error: undefined; info: { componentStack: string; }; }; componentDidCatch(error: Error | null, info: object): void; render(): string | number | boolean | React$1.ReactFragment | JSX.Element | null | undefined; } interface AlertProps { /** Type of Alert styles, options:`success`, `info`, `warning`, `error` */ type?: 'success' | 'info' | 'warning' | 'error'; /** Whether Alert can be closed */ closable?: boolean; /** Close text to show */ closeText?: React$1.ReactNode; /** Content of Alert */ message?: React$1.ReactNode; /** Additional content of Alert */ description?: React$1.ReactNode; /** Callback when close Alert */ onClose?: React$1.MouseEventHandler; /** Trigger when animation ending of Alert */ afterClose?: () => void; /** Whether to show icon */ showIcon?: boolean; /** https://www.w3.org/TR/2014/REC-html5-20141028/dom.html#aria-role-attribute */ role?: string; style?: React$1.CSSProperties; prefixCls?: string; className?: string; banner?: boolean; icon?: React$1.ReactNode; /** Custome closeIcon */ closeIcon?: React$1.ReactNode; action?: React$1.ReactNode; onMouseEnter?: React$1.MouseEventHandler; onMouseLeave?: React$1.MouseEventHandler; onClick?: React$1.MouseEventHandler; } interface AlertInterface extends React$1.FC { ErrorBoundary: typeof ErrorBoundary; } declare const Alert: AlertInterface; declare type AnchorContainer = HTMLElement | Window; interface AnchorProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; children?: React$1.ReactNode; offsetTop?: number; bounds?: number; affix?: boolean; showInkInFixed?: boolean; getContainer?: () => AnchorContainer; /** Return customize highlight anchor */ getCurrentAnchor?: (activeLink: string) => string; onClick?: (e: React$1.MouseEvent, link: { title: React$1.ReactNode; href: string; }) => void; /** Scroll to target offset value, if none, it's offsetTop prop value or 0. */ targetOffset?: number; /** Listening event when scrolling change active link */ onChange?: (currentActiveLink: string) => void; } interface InternalAnchorProps extends AnchorProps { anchorPrefixCls: string; } interface AnchorState { activeLink: null | string; } interface AntAnchor { registerLink: (link: string) => void; unregisterLink: (link: string) => void; activeLink: string | null; scrollTo: (link: string) => void; onClick?: (e: React$1.MouseEvent, link: { title: React$1.ReactNode; href: string; }) => void; } declare class Anchor$1 extends React$1.Component { static defaultProps: { affix: boolean; showInkInFixed: boolean; }; static contextType: React$1.Context; state: { activeLink: null; }; context: ConfigConsumerProps; private wrapperRef; private inkNode; private scrollContainer; private links; private scrollEvent; private animating; private prefixCls?; registerLink: (link: string) => void; unregisterLink: (link: string) => void; getContainer: () => AnchorContainer; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; getCurrentAnchor(offsetTop?: number, bounds?: number): string; handleScrollTo: (link: string) => void; saveInkNode: (node: HTMLSpanElement) => void; setCurrentActiveLink: (link: string) => void; handleScroll: () => void; updateInk: () => void; getMemoizedContextValue: memoize_one.MemoizedFn<(link: AntAnchor['activeLink'], onClickFn: AnchorProps['onClick']) => AntAnchor>; render(): JSX.Element; } declare const AnchorFC: React$1.ForwardRefExoticComponent>; interface AnchorLinkProps { prefixCls?: string; href: string; target?: string; title: React$1.ReactNode; children?: React$1.ReactNode; className?: string; } declare class AnchorLink extends React$1.Component { static defaultProps: { href: string; }; static contextType: React$1.Context; context: AntAnchor; componentDidMount(): void; componentDidUpdate({ href: prevHref }: AnchorLinkProps): void; componentWillUnmount(): void; handleClick: (e: React$1.MouseEvent) => void; renderAnchorLink: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } declare type InternalAnchorType = typeof AnchorFC; interface AnchorInterface extends InternalAnchorType { Link: typeof AnchorLink; } declare const Anchor: AnchorInterface; declare const SelectPlacements: ["bottomLeft", "bottomRight", "topLeft", "topRight"]; declare type SelectCommonPlacement = typeof SelectPlacements[number]; interface InternalSelectProps extends Omit, 'mode'> { suffixIcon?: React$1.ReactNode; size?: SizeType; disabled?: boolean; mode?: 'multiple' | 'tags' | 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; bordered?: boolean; } interface SelectProps extends Omit, 'inputIcon' | 'mode' | 'getInputElement' | 'getRawInputElement' | 'backfill' | 'placement'> { placement?: SelectCommonPlacement; mode?: 'multiple' | 'tags'; status?: InputStatus; } declare const Select: ((props: SelectProps & { children?: React$1.ReactNode; } & { ref?: React$1.Ref | undefined; }) => React$1.ReactElement) & { SECRET_COMBOBOX_MODE_DO_NOT_USE: string; Option: typeof Option$1; OptGroup: typeof OptGroup; }; interface DataSourceItemObject { value: string; text: string; } declare type DataSourceItemType = DataSourceItemObject | React$1.ReactNode; interface AutoCompleteProps extends Omit, 'inputIcon' | 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue'> { dataSource?: DataSourceItemType[]; status?: InputStatus; } declare const RefAutoComplete: ((props: AutoCompleteProps & { children?: React$1.ReactNode; } & { ref?: React$1.Ref | undefined; }) => React$1.ReactElement) & { Option: rc_select_lib_Option.OptionFC; }; declare type AvatarSize = 'large' | 'small' | 'default' | number | ScreenSizeMap; interface AvatarProps$1 { /** Shape of avatar, options: `circle`, `square` */ shape?: 'circle' | 'square'; size?: AvatarSize; gap?: number; /** Src of image avatar */ src?: React$1.ReactNode; /** Srcset of image avatar */ srcSet?: string; draggable?: boolean; /** Icon to be used in avatar */ icon?: React$1.ReactNode; style?: React$1.CSSProperties; prefixCls?: string; className?: string; children?: React$1.ReactNode; alt?: string; crossOrigin?: '' | 'anonymous' | 'use-credentials'; onClick?: (e?: React$1.MouseEvent) => void; onError?: () => boolean; } interface GroupProps$1 { className?: string; children?: React$1.ReactNode; style?: React$1.CSSProperties; prefixCls?: string; maxCount?: number; maxStyle?: React$1.CSSProperties; maxPopoverPlacement?: 'top' | 'bottom'; maxPopoverTrigger?: 'hover' | 'focus' | 'click'; size?: AvatarSize; } declare const Group$1: React$1.FC; interface CompoundedComponent$6 extends ForwardRefExoticComponent> { Group: typeof Group$1; } declare const Avatar: CompoundedComponent$6; interface BackTopProps { visibilityHeight?: number; onClick?: React$1.MouseEventHandler; target?: () => HTMLElement | Window | Document; prefixCls?: string; children?: React$1.ReactNode; className?: string; style?: React$1.CSSProperties; duration?: number; visible?: boolean; } declare const _default$b: React$1.NamedExoticComponent; declare type RibbonPlacement = 'start' | 'end'; interface RibbonProps { className?: string; prefixCls?: string; style?: React$1.CSSProperties; text?: React$1.ReactNode; color?: LiteralUnion; children?: React$1.ReactNode; placement?: RibbonPlacement; } declare const Ribbon: React$1.FC; interface CompoundedComponent$5 extends React$1.FC { Ribbon: typeof Ribbon; } interface BadgeProps { /** Number to show in badge */ count?: React$1.ReactNode; showZero?: boolean; /** Max count to show */ overflowCount?: number; /** Whether to show red dot without number */ dot?: boolean; style?: React$1.CSSProperties; prefixCls?: string; scrollNumberPrefixCls?: string; className?: string; status?: PresetStatusColorType; color?: LiteralUnion; text?: React$1.ReactNode; size?: 'default' | 'small'; offset?: [number | string, number | string]; title?: string; children?: React$1.ReactNode; } declare const Badge: CompoundedComponent$5; declare type DropdownButtonType = 'default' | 'primary' | 'ghost' | 'dashed' | 'link' | 'text'; interface DropdownButtonProps extends ButtonGroupProps, DropdownProps { type?: DropdownButtonType; htmlType?: ButtonHTMLType; disabled?: boolean; loading?: ButtonProps['loading']; onClick?: React$1.MouseEventHandler; icon?: React$1.ReactNode; href?: string; children?: React$1.ReactNode; title?: string; buttonsRender?: (buttons: React$1.ReactNode[]) => React$1.ReactNode[]; } interface DropdownButtonInterface extends React$1.FC { __ANT_BUTTON: boolean; } declare const DropdownButton: DropdownButtonInterface; declare const Placements: ["topLeft", "topCenter", "topRight", "bottomLeft", "bottomCenter", "bottomRight", "top", "bottom"]; declare type Placement = typeof Placements[number]; declare type OverlayFunc = () => React$1.ReactElement; declare type Align = { points?: [string, string]; offset?: [number, number]; targetOffset?: [number, number]; overflow?: { adjustX?: boolean; adjustY?: boolean; }; useCssRight?: boolean; useCssBottom?: boolean; useCssTransform?: boolean; }; declare type DropdownArrowOptions = { pointAtCenter?: boolean; }; interface DropdownProps { autoFocus?: boolean; arrow?: boolean | DropdownArrowOptions; trigger?: ('click' | 'hover' | 'contextMenu')[]; overlay: React$1.ReactElement | OverlayFunc; onVisibleChange?: (visible: boolean) => void; visible?: boolean; disabled?: boolean; destroyPopupOnHide?: boolean; align?: Align; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; prefixCls?: string; className?: string; transitionName?: string; placement?: Placement; overlayClassName?: string; overlayStyle?: React$1.CSSProperties; forceRender?: boolean; mouseEnterDelay?: number; mouseLeaveDelay?: number; openClassName?: string; children?: React$1.ReactNode; } interface DropdownInterface extends React$1.FC { Button: typeof DropdownButton; } declare const Dropdown: DropdownInterface; interface BreadcrumbItemProps { prefixCls?: string; separator?: React$1.ReactNode; href?: string; overlay?: DropdownProps['overlay']; dropdownProps?: DropdownProps; onClick?: React$1.MouseEventHandler; className?: string; children?: React$1.ReactNode; } interface BreadcrumbItemInterface extends React$1.FC { __ANT_BREADCRUMB_ITEM: boolean; } declare const BreadcrumbItem: BreadcrumbItemInterface; interface BreadcrumbSeparatorInterface extends React$1.FC<{ children?: React$1.ReactNode; }> { __ANT_BREADCRUMB_SEPARATOR: boolean; } declare const BreadcrumbSeparator: BreadcrumbSeparatorInterface; interface Route { path: string; breadcrumbName: string; children?: Omit[]; } interface BreadcrumbProps { prefixCls?: string; routes?: Route[]; params?: any; separator?: React$1.ReactNode; itemRender?: (route: Route, params: any, routes: Array, paths: Array) => React$1.ReactNode; style?: React$1.CSSProperties; className?: string; children?: React$1.ReactNode; } interface BreadcrumbInterface extends React$1.FC { Item: typeof BreadcrumbItem; Separator: typeof BreadcrumbSeparator; } declare const Breadcrumb: BreadcrumbInterface; declare const locale: PickerLocale; declare type CalendarMode = 'year' | 'month'; declare type HeaderRender = (config: { value: DateType; type: CalendarMode; onChange: (date: DateType) => void; onTypeChange: (type: CalendarMode) => void; }) => React$1.ReactNode; interface CalendarProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; locale?: typeof locale; validRange?: [DateType, DateType]; disabledDate?: (date: DateType) => boolean; dateFullCellRender?: (date: DateType) => React$1.ReactNode; dateCellRender?: (date: DateType) => React$1.ReactNode; monthFullCellRender?: (date: DateType) => React$1.ReactNode; monthCellRender?: (date: DateType) => React$1.ReactNode; headerRender?: HeaderRender; value?: DateType; defaultValue?: DateType; mode?: CalendarMode; fullscreen?: boolean; onChange?: (date: DateType) => void; onPanelChange?: (date: DateType, mode: CalendarMode) => void; onSelect?: (date: DateType) => void; } declare const Calendar: (props: CalendarProps) => JSX.Element; declare type TabsType = 'line' | 'card' | 'editable-card'; interface TabsProps extends Omit { type?: TabsType; size?: SizeType; hideAdd?: boolean; centered?: boolean; addIcon?: React$1.ReactNode; onEdit?: (e: React$1.MouseEvent | React$1.KeyboardEvent | string, action: 'add' | 'remove') => void; } declare function Tabs({ type, className, size: propSize, onEdit, hideAdd, centered, addIcon, ...props }: TabsProps): JSX.Element; declare namespace Tabs { var TabPane: typeof rc_tabs.TabPane; } declare type CardType = 'inner'; declare type CardSize = 'default' | 'small'; interface CardTabListType { key: string; tab: React$1.ReactNode; disabled?: boolean; } interface CardProps extends Omit, 'title'> { prefixCls?: string; title?: React$1.ReactNode; extra?: React$1.ReactNode; bordered?: boolean; headStyle?: React$1.CSSProperties; bodyStyle?: React$1.CSSProperties; style?: React$1.CSSProperties; loading?: boolean; hoverable?: boolean; children?: React$1.ReactNode; id?: string; className?: string; size?: CardSize; type?: CardType; cover?: React$1.ReactNode; actions?: React$1.ReactNode[]; tabList?: CardTabListType[]; tabBarExtraContent?: React$1.ReactNode; onTabChange?: (key: string) => void; activeTabKey?: string; defaultActiveTabKey?: string; tabProps?: TabsProps; } declare const Card$1: React$1.ForwardRefExoticComponent>; interface CardGridProps extends React$1.HTMLAttributes { prefixCls?: string; className?: string; hoverable?: boolean; style?: React$1.CSSProperties; } declare const Grid: React$1.FC; interface CardMetaProps { prefixCls?: string; style?: React$1.CSSProperties; className?: string; avatar?: React$1.ReactNode; title?: React$1.ReactNode; description?: React$1.ReactNode; } declare const Meta$1: React$1.FC; declare type InternalCardType = typeof Card$1; interface CardInterface extends InternalCardType { Grid: typeof Grid; Meta: typeof Meta$1; } declare const Card: CardInterface; declare type CarouselEffect = 'scrollx' | 'fade'; declare type DotPosition = 'top' | 'bottom' | 'left' | 'right'; interface CarouselProps extends Omit { effect?: CarouselEffect; style?: React$1.CSSProperties; prefixCls?: string; slickGoTo?: number; dotPosition?: DotPosition; children?: React$1.ReactNode; dots?: boolean | { className?: string; }; } interface CarouselRef { goTo: (slide: number, dontAnimate?: boolean) => void; next: () => void; prev: () => void; autoPlay: (palyType?: 'update' | 'leave' | 'blur') => void; innerSlider: any; } declare const Carousel: React$1.ForwardRefExoticComponent>; declare type SingleCascaderProps = Omit & { multiple?: false; }; declare type MultipleCascaderProps = Omit & { multiple: true; }; declare type UnionCascaderProps = SingleCascaderProps | MultipleCascaderProps; declare type CascaderProps = UnionCascaderProps & { multiple?: boolean; size?: SizeType; disabled?: boolean; bordered?: boolean; placement?: SelectCommonPlacement; suffixIcon?: React$1.ReactNode; options?: DataNodeType[]; status?: InputStatus; }; interface CascaderRef { focus: () => void; blur: () => void; } declare const Cascader: ((props: React$1.PropsWithChildren> & { ref?: React$1.Ref | undefined; }) => React$1.ReactElement) & { displayName: string; SHOW_PARENT: "SHOW_PARENT"; SHOW_CHILD: "SHOW_CHILD"; }; declare const RowAligns: ["top", "middle", "bottom", "stretch"]; declare const RowJustify: ["start", "end", "center", "space-around", "space-between", "space-evenly"]; declare type Gutter = number | undefined | Partial>; interface RowProps extends React$1.HTMLAttributes { gutter?: Gutter | [Gutter, Gutter]; align?: typeof RowAligns[number]; justify?: typeof RowJustify[number]; prefixCls?: string; wrap?: boolean; } declare const Row: React$1.ForwardRefExoticComponent>; declare function useBreakpoint(): Partial>; declare const _default$a: { useBreakpoint: typeof useBreakpoint; }; declare type CollapsibleType = 'header' | 'disabled'; interface CollapsePanelProps { key: string | number; header: React$1.ReactNode; /** @deprecated Use `collapsible="disabled"` instead */ disabled?: boolean; className?: string; style?: React$1.CSSProperties; showArrow?: boolean; prefixCls?: string; forceRender?: boolean; id?: string; extra?: React$1.ReactNode; collapsible?: CollapsibleType; children?: React$1.ReactNode; } declare const CollapsePanel: React$1.FC; /** @deprecated Please use `start` | `end` instead */ declare type ExpandIconPositionLegacy = 'left' | 'right'; declare type ExpandIconPosition = 'start' | 'end' | ExpandIconPositionLegacy | undefined; interface CollapseProps { activeKey?: Array | string | number; defaultActiveKey?: Array | string | number; /** 手风琴效果 */ accordion?: boolean; destroyInactivePanel?: boolean; onChange?: (key: string | string[]) => void; style?: React$1.CSSProperties; className?: string; bordered?: boolean; prefixCls?: string; expandIcon?: (panelProps: PanelProps) => React$1.ReactNode; expandIconPosition?: ExpandIconPosition; ghost?: boolean; collapsible?: CollapsibleType; children?: React$1.ReactNode; } interface PanelProps { isActive?: boolean; header?: React$1.ReactNode; className?: string; style?: React$1.CSSProperties; showArrow?: boolean; forceRender?: boolean; /** @deprecated Use `collapsible="disabled"` instead */ disabled?: boolean; extra?: React$1.ReactNode; collapsible?: CollapsibleType; } interface CollapseInterface extends React$1.FC { Panel: typeof CollapsePanel; } declare const Collapse: CollapseInterface; interface CommentProps { /** List of action items rendered below the comment content */ actions?: Array; /** The element to display as the comment author. */ author?: React$1.ReactNode; /** The element to display as the comment avatar - generally an antd Avatar */ avatar?: React$1.ReactNode; /** ClassName of comment */ className?: string; /** The main content of the comment */ content: React$1.ReactNode; /** Nested comments should be provided as children of the Comment */ children?: React$1.ReactNode; /** Comment prefix defaults to '.ant-comment' */ prefixCls?: string; /** Additional style for the comment */ style?: React$1.CSSProperties; /** A datetime element containing the time to be displayed */ datetime?: React$1.ReactNode; } declare const Comment: React$1.FC; declare type DatePickerProps = PickerProps; declare const DatePicker: PickerComponentClass & { status?: "" | "warning" | "error" | undefined; }, unknown> & { WeekPicker: PickerComponentClass, "picker">, unknown>; MonthPicker: PickerComponentClass, "picker">, unknown>; YearPicker: PickerComponentClass, "picker">, unknown>; RangePicker: PickerComponentClass, unknown>; TimePicker: PickerComponentClass, "picker">, unknown>; QuarterPicker: PickerComponentClass, "picker">, unknown>; }; interface DescriptionsItemProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; label?: React$1.ReactNode; labelStyle?: React$1.CSSProperties; contentStyle?: React$1.CSSProperties; children: React$1.ReactNode; span?: number; } interface DescriptionsProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; bordered?: boolean; size?: 'middle' | 'small' | 'default'; children?: React$1.ReactNode; title?: React$1.ReactNode; extra?: React$1.ReactNode; column?: number | Partial>; layout?: 'horizontal' | 'vertical'; colon?: boolean; labelStyle?: React$1.CSSProperties; contentStyle?: React$1.CSSProperties; } declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, }: DescriptionsProps): JSX.Element; declare namespace Descriptions { var Item: React$1.FC; } interface DividerProps { prefixCls?: string; type?: 'horizontal' | 'vertical'; orientation?: 'left' | 'right' | 'center'; orientationMargin?: string | number; className?: string; children?: React$1.ReactNode; dashed?: boolean; style?: React$1.CSSProperties; plain?: boolean; } declare const Divider: React$1.FC; declare const SizeTypes: ["default", "large"]; declare type sizeType = typeof SizeTypes[number]; interface DrawerProps extends DrawerProps$1 { size?: sizeType; closable?: boolean; closeIcon?: React$1.ReactNode; /** Wrapper dom node style of header and body */ drawerStyle?: React$1.CSSProperties; headerStyle?: React$1.CSSProperties; bodyStyle?: React$1.CSSProperties; footerStyle?: React$1.CSSProperties; title?: React$1.ReactNode; visible?: boolean; footer?: React$1.ReactNode; extra?: React$1.ReactNode; afterVisibleChange?: (visible: boolean) => void; } declare function Drawer({ width, height, size, closable, mask, push, closeIcon, bodyStyle, drawerStyle, className, visible, children, style, title, headerStyle, onClose, footer, footerStyle, prefixCls: customizePrefixCls, getContainer: customizeGetContainer, extra, afterVisibleChange, ...rest }: DrawerProps): JSX.Element; declare namespace Drawer { var displayName: string; } /** Form Provider */ interface FormProviderProps extends Omit { prefixCls?: string; } declare const FormProvider: React$1.FC; interface ErrorListProps { help?: React$1.ReactNode; helpStatus?: ValidateStatus; errors?: React$1.ReactNode[]; warnings?: React$1.ReactNode[]; className?: string; onVisibleChanged?: (visible: boolean) => void; } declare function ErrorList({ help, helpStatus, errors, warnings, className: rootClassName, onVisibleChanged, }: ErrorListProps): JSX.Element; interface FormListFieldData { name: number; key: number; /** @deprecated No need anymore Use key instead */ fieldKey?: number; } interface FormListOperation { add: (defaultValue?: StoreValue, insertIndex?: number) => void; remove: (index: number | number[]) => void; move: (from: number, to: number) => void; } interface FormListProps { prefixCls?: string; name: string | number | (string | number)[]; rules?: ValidatorRule[]; initialValue?: any[]; children: (fields: FormListFieldData[], operation: FormListOperation, meta: { errors: React$1.ReactNode[]; warnings: React$1.ReactNode[]; }) => React$1.ReactNode; } declare const FormList: React$1.FC; declare function useFormInstance(): FormInstance; declare type InternalFormType = typeof Form$1; interface FormInterface extends InternalFormType { useForm: typeof useForm; useFormInstance: typeof useFormInstance; useWatch: typeof useWatch; Item: typeof FormItem; List: typeof FormList; ErrorList: typeof ErrorList; Provider: typeof FormProvider; /** @deprecated Only for warning usage. Do not use. */ create: () => void; } declare const Form: FormInterface; declare const InternalPreviewGroup: React$1.FC; interface CompositionImage

extends React$1.FC

{ PreviewGroup: typeof InternalPreviewGroup; } declare const Image: CompositionImage; interface GroupProps { className?: string; size?: 'large' | 'small' | 'default'; children?: React$1.ReactNode; style?: React$1.CSSProperties; onMouseEnter?: React$1.MouseEventHandler; onMouseLeave?: React$1.MouseEventHandler; onFocus?: React$1.FocusEventHandler; onBlur?: React$1.FocusEventHandler; prefixCls?: string; compact?: boolean; } declare const Group: React$1.FC; interface InputFocusOptions extends FocusOptions { cursor?: 'start' | 'end' | 'all'; } interface InputProps extends Omit { size?: SizeType; disabled?: boolean; status?: InputStatus; bordered?: boolean; [key: `data-${string}`]: string | undefined; } interface PasswordProps extends InputProps { readonly inputPrefixCls?: string; readonly action?: string; visibilityToggle?: boolean; iconRender?: (visible: boolean) => React$1.ReactNode; } declare const Password: React$1.ForwardRefExoticComponent>; interface SearchProps extends InputProps { inputPrefixCls?: string; onSearch?: (value: string, event?: React$1.ChangeEvent | React$1.MouseEvent | React$1.KeyboardEvent) => void; enterButton?: React$1.ReactNode; loading?: boolean; } declare const Search: React$1.ForwardRefExoticComponent>; interface ShowCountProps { formatter: (args: { count: number; maxLength?: number; }) => string; } interface TextAreaProps extends TextAreaProps$1 { allowClear?: boolean; bordered?: boolean; showCount?: boolean | ShowCountProps; size?: SizeType; disabled?: boolean; status?: InputStatus; } interface TextAreaRef { focus: (options?: InputFocusOptions) => void; blur: () => void; resizableTextArea?: ResizableTextArea; } declare const TextArea: React$1.ForwardRefExoticComponent>; interface CompoundedComponent$4 extends React$1.ForwardRefExoticComponent> { Group: typeof Group; Search: typeof Search; TextArea: typeof TextArea; Password: typeof Password; } declare const Input: CompoundedComponent$4; declare type ValueType = string | number; interface InputNumberProps extends Omit, 'prefix' | 'size' | 'controls'> { prefixCls?: string; addonBefore?: React$1.ReactNode; addonAfter?: React$1.ReactNode; prefix?: React$1.ReactNode; size?: SizeType; disabled?: boolean; bordered?: boolean; status?: InputStatus; controls?: boolean | { upIcon?: React$1.ReactNode; downIcon?: React$1.ReactNode; }; } declare const _default$9: ((props: InputNumberProps & { children?: React$1.ReactNode; } & { ref?: React$1.Ref | undefined; }) => React$1.ReactElement) & { displayName?: string | undefined; }; interface BasicProps extends React$1.HTMLAttributes { prefixCls?: string; hasSider?: boolean; } declare const Layout$1: React$1.ForwardRefExoticComponent>; declare const Header: React$1.ForwardRefExoticComponent>; declare const Footer: React$1.ForwardRefExoticComponent>; declare const Content: React$1.ForwardRefExoticComponent>; interface SiderContextProps { siderCollapsed?: boolean; } declare type CollapseType = 'clickTrigger' | 'responsive'; declare type SiderTheme = 'light' | 'dark'; interface SiderProps extends React$1.HTMLAttributes { prefixCls?: string; collapsible?: boolean; collapsed?: boolean; defaultCollapsed?: boolean; reverseArrow?: boolean; onCollapse?: (collapsed: boolean, type: CollapseType) => void; zeroWidthTriggerStyle?: React$1.CSSProperties; trigger?: React$1.ReactNode; width?: number | string; collapsedWidth?: number | string; breakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; theme?: SiderTheme; onBreakpoint?: (broken: boolean) => void; } declare const Sider: React$1.ForwardRefExoticComponent>; declare type InternalLayoutType = typeof Layout$1; interface LayoutType extends InternalLayoutType { Header: typeof Header; Footer: typeof Footer; Content: typeof Content; Sider: typeof Sider; } declare const Layout: LayoutType; interface ListItemProps extends HTMLAttributes { className?: string; children?: ReactNode; prefixCls?: string; style?: CSSProperties; extra?: ReactNode; actions?: ReactNode[]; colStyle?: CSSProperties; } interface ListItemMetaProps { avatar?: ReactNode; className?: string; children?: ReactNode; description?: ReactNode; prefixCls?: string; style?: CSSProperties; title?: ReactNode; } declare const Meta: FC; interface ListItemTypeProps extends ForwardRefExoticComponent> { Meta: typeof Meta; } declare const SpinSizes: ["small", "default", "large"]; declare type SpinSize = typeof SpinSizes[number]; declare type SpinIndicator = React$1.ReactElement; interface SpinProps { prefixCls?: string; className?: string; spinning?: boolean; style?: React$1.CSSProperties; size?: SpinSize; tip?: React$1.ReactNode; delay?: number; wrapperClassName?: string; indicator?: SpinIndicator; children?: React$1.ReactNode; } declare type SpinFCType = React$1.FC & { setDefaultIndicator: (indicator: React$1.ReactNode) => void; }; declare const SpinFC: SpinFCType; declare type ColumnCount = number; interface ListGridType { gutter?: number; column?: ColumnCount; xs?: ColumnCount; sm?: ColumnCount; md?: ColumnCount; lg?: ColumnCount; xl?: ColumnCount; xxl?: ColumnCount; } declare type ListSize = 'small' | 'default' | 'large'; declare type ListItemLayout = 'horizontal' | 'vertical'; interface ListProps { bordered?: boolean; className?: string; style?: React$1.CSSProperties; children?: React$1.ReactNode; dataSource?: T[]; extra?: React$1.ReactNode; grid?: ListGridType; id?: string; itemLayout?: ListItemLayout; loading?: boolean | SpinProps; loadMore?: React$1.ReactNode; pagination?: PaginationConfig | false; prefixCls?: string; rowKey?: ((item: T) => React$1.Key) | keyof T; renderItem?: (item: T, index: number) => React$1.ReactNode; size?: ListSize; split?: boolean; header?: React$1.ReactNode; footer?: React$1.ReactNode; locale?: ListLocale; } interface ListLocale { emptyText: React$1.ReactNode; } declare function List({ pagination, prefixCls: customizePrefixCls, bordered, split, className, children, itemLayout, loadMore, grid, dataSource, size, header, footer, loading, rowKey, renderItem, locale, ...rest }: ListProps): JSX.Element; declare namespace List { var Item: ListItemTypeProps; } declare const Option: React$1.FC; interface MentionProps extends MentionsProps { loading?: boolean; status?: InputStatus; } interface MentionsConfig { prefix?: string | string[]; split?: string; } interface MentionsEntity { prefix: string; value: string; } interface CompoundedComponent$3 extends React$1.ForwardRefExoticComponent> { Option: typeof Option; getMentions: (value: string, config?: MentionsConfig) => MentionsEntity[]; } declare const Mentions: CompoundedComponent$3; interface MenuDividerProps extends React$1.HTMLAttributes { className?: string; prefixCls?: string; style?: React$1.CSSProperties; dashed?: boolean; } interface MenuItemType extends MenuItemType$1 { danger?: boolean; icon?: React$1.ReactNode; title?: string; } interface SubMenuType extends Omit { icon?: React$1.ReactNode; theme?: 'dark' | 'light'; children: ItemType[]; } interface MenuItemGroupType extends Omit { children?: ItemType[]; key?: React$1.Key; } interface MenuDividerType extends MenuDividerType$1 { dashed?: boolean; key?: React$1.Key; } declare type ItemType = MenuItemType | SubMenuType | MenuItemGroupType | MenuDividerType | null; declare type MenuTheme = 'light' | 'dark'; interface MenuContextProps { prefixCls: string; inlineCollapsed: boolean; antdMenuTheme?: MenuTheme; direction?: DirectionType; firstLevel: boolean; /** @private Internal Usage. Safe to remove */ disableMenuItemTitleTooltip?: boolean; } interface MenuItemProps extends Omit { icon?: React$1.ReactNode; danger?: boolean; title?: React$1.ReactNode; } declare class MenuItem extends React$1.Component { static contextType: React$1.Context; context: MenuContextProps; renderItemChildren(inlineCollapsed: boolean): JSX.Element; renderItem: ({ siderCollapsed }: SiderContextProps) => JSX.Element; render(): JSX.Element; } interface TitleEventEntity { key: string; domEvent: React$1.MouseEvent | React$1.KeyboardEvent; } interface SubMenuProps { className?: string; disabled?: boolean; level?: number; title?: React$1.ReactNode; icon?: React$1.ReactNode; style?: React$1.CSSProperties; onTitleClick?: (e: TitleEventEntity) => void; onTitleMouseEnter?: (e: TitleEventEntity) => void; onTitleMouseLeave?: (e: TitleEventEntity) => void; popupOffset?: [number, number]; popupClassName?: string; children?: React$1.ReactNode; theme?: MenuTheme; } declare function SubMenu(props: SubMenuProps): JSX.Element; interface MenuProps extends Omit { theme?: MenuTheme; inlineIndent?: number; /** * @private Internal Usage. Not promise crash if used in production. Connect with chenshuai2144 * for removing. */ _internalDisableMenuItemTitleTooltip?: boolean; items?: ItemType[]; } declare class Menu extends React$1.Component { static Divider: React$1.FC; static Item: typeof MenuItem; static SubMenu: typeof SubMenu; static ItemGroup: typeof ItemGroup; menu: MenuRef | null; focus: (options?: FocusOptions) => void; render(): JSX.Element; } interface ConfigOptions { top?: number; duration?: number; prefixCls?: string; getContainer?: () => HTMLElement; transitionName?: string; maxCount?: number; rtl?: boolean; } interface MessageType extends PromiseLike { (): void; } declare const typeToIcon: { info: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; success: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; error: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; warning: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; loading: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; }; declare type NoticeType = keyof typeof typeToIcon; interface ArgsProps$1 { content: any; duration?: number; type?: NoticeType; prefixCls?: string; rootPrefixCls?: string; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; onClose?: () => void; icon?: React$1.ReactNode; key?: string | number; style?: React$1.CSSProperties; className?: string; onClick?: (e: React$1.MouseEvent) => void; } declare type ConfigContent = React$1.ReactNode; declare type ConfigDuration = number | (() => void); declare type JointContent = ConfigContent | ArgsProps$1; declare type ConfigOnClose = () => void; interface MessageInstance { info(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType; success(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType; error(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType; warning(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType; loading(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType; open(args: ArgsProps$1): MessageType; } interface MessageApi extends MessageInstance { warn(content: JointContent, duration?: ConfigDuration, onClose?: ConfigOnClose): MessageType; config(options: ConfigOptions): void; destroy(messageKey?: React$1.Key): void; useMessage(): [MessageInstance, React$1.ReactElement]; } declare const _default$8: MessageApi; interface ModalProps { /** 对话框是否可见 */ visible?: boolean; /** 确定按钮 loading */ confirmLoading?: boolean; /** 标题 */ title?: React$1.ReactNode; /** 是否显示右上角的关闭按钮 */ closable?: boolean; /** 点击确定回调 */ onOk?: (e: React$1.MouseEvent) => void; /** 点击模态框右上角叉、取消按钮、Props.maskClosable 值为 true 时的遮罩层或键盘按下 Esc 时的回调 */ onCancel?: (e: React$1.MouseEvent) => void; afterClose?: () => void; /** 垂直居中 */ centered?: boolean; /** 宽度 */ width?: string | number; /** 底部内容 */ footer?: React$1.ReactNode; /** 确认按钮文字 */ okText?: React$1.ReactNode; /** 确认按钮类型 */ okType?: LegacyButtonType; /** 取消按钮文字 */ cancelText?: React$1.ReactNode; /** 点击蒙层是否允许关闭 */ maskClosable?: boolean; /** 强制渲染 Modal */ forceRender?: boolean; okButtonProps?: ButtonProps; cancelButtonProps?: ButtonProps; destroyOnClose?: boolean; style?: React$1.CSSProperties; wrapClassName?: string; maskTransitionName?: string; transitionName?: string; className?: string; getContainer?: string | HTMLElement | getContainerFunc | false; zIndex?: number; bodyStyle?: React$1.CSSProperties; maskStyle?: React$1.CSSProperties; mask?: boolean; keyboard?: boolean; wrapProps?: any; prefixCls?: string; closeIcon?: React$1.ReactNode; modalRender?: (node: React$1.ReactNode) => React$1.ReactNode; focusTriggerAfterClose?: boolean; children?: React$1.ReactNode; } declare type getContainerFunc = () => HTMLElement; interface ModalFuncProps { prefixCls?: string; className?: string; visible?: boolean; title?: React$1.ReactNode; closable?: boolean; content?: React$1.ReactNode; onOk?: (...args: any[]) => any; onCancel?: (...args: any[]) => any; afterClose?: () => void; okButtonProps?: ButtonProps; cancelButtonProps?: ButtonProps; centered?: boolean; width?: string | number; okText?: React$1.ReactNode; okType?: LegacyButtonType; cancelText?: React$1.ReactNode; icon?: React$1.ReactNode; mask?: boolean; maskClosable?: boolean; zIndex?: number; okCancel?: boolean; style?: React$1.CSSProperties; wrapClassName?: string; maskStyle?: React$1.CSSProperties; type?: 'info' | 'success' | 'error' | 'warn' | 'warning' | 'confirm'; keyboard?: boolean; getContainer?: string | HTMLElement | getContainerFunc | false; autoFocusButton?: null | 'ok' | 'cancel'; transitionName?: string; maskTransitionName?: string; direction?: DirectionType; bodyStyle?: React$1.CSSProperties; closeIcon?: React$1.ReactNode; modalRender?: (node: React$1.ReactNode) => React$1.ReactNode; focusTriggerAfterClose?: boolean; } declare const Modal$1: React$1.FC; declare type ConfigUpdate = ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps); declare type ModalFunc = (props: ModalFuncProps) => { destroy: () => void; update: (configUpdate: ConfigUpdate) => void; }; declare type ModalStaticFunctions = Record, ModalFunc>; declare function modalGlobalConfig({ rootPrefixCls }: { rootPrefixCls: string; }): void; declare function useModal(): [Omit, React$1.ReactElement]; declare type ModalType = typeof Modal$1 & ModalStaticFunctions & { useModal: typeof useModal; destroyAll: () => void; config: typeof modalGlobalConfig; }; declare const Modal: ModalType; declare type NotificationPlacement = 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight'; declare type IconType = 'success' | 'info' | 'error' | 'warning'; interface ConfigProps { top?: number; bottom?: number; duration?: number; prefixCls?: string; placement?: NotificationPlacement; getContainer?: () => HTMLElement; closeIcon?: React$1.ReactNode; rtl?: boolean; maxCount?: number; } interface ArgsProps { message: React$1.ReactNode; description?: React$1.ReactNode; btn?: React$1.ReactNode; key?: string; onClose?: () => void; duration?: number | null; icon?: React$1.ReactNode; placement?: NotificationPlacement; maxCount?: number; style?: React$1.CSSProperties; prefixCls?: string; className?: string; readonly type?: IconType; onClick?: () => void; top?: number; bottom?: number; getContainer?: () => HTMLElement; closeIcon?: React$1.ReactNode; } interface NotificationInstance { success(args: ArgsProps): void; error(args: ArgsProps): void; info(args: ArgsProps): void; warning(args: ArgsProps): void; open(args: ArgsProps): void; } interface NotificationApi extends NotificationInstance { warn(args: ArgsProps): void; close(key: string): void; config(options: ConfigProps): void; destroy(): void; useNotification: () => [NotificationInstance, React$1.ReactElement]; } declare const _default$7: NotificationApi; interface PageHeaderProps { backIcon?: React$1.ReactNode; prefixCls?: string; title?: React$1.ReactNode; subTitle?: React$1.ReactNode; style?: React$1.CSSProperties; breadcrumb?: BreadcrumbProps | React$1.ReactElement; breadcrumbRender?: (props: PageHeaderProps, defaultDom: React$1.ReactNode) => React$1.ReactNode; tags?: React$1.ReactElement | React$1.ReactElement[]; footer?: React$1.ReactNode; extra?: React$1.ReactNode; avatar?: AvatarProps$1; onBack?: (e?: React$1.MouseEvent) => void; className?: string; ghost?: boolean; children?: React$1.ReactNode; } declare const PageHeader: React$1.FC; interface PopoverProps extends AbstractTooltipProps { title?: React$1.ReactNode | RenderFunction; content?: React$1.ReactNode | RenderFunction; /** @private Used For Popconfirm. Safe to remove. */ _overlay?: React$1.ReactNode; } declare const Popover: React$1.ForwardRefExoticComponent>; declare type DisabledType = true | false | undefined; declare type RadioGroupButtonStyle = 'outline' | 'solid'; declare type RadioGroupOptionType = 'default' | 'button'; interface RadioGroupProps extends AbstractCheckboxGroupProps { defaultValue?: any; value?: any; onChange?: (e: RadioChangeEvent) => void; size?: SizeType; disabled?: DisabledType; onMouseEnter?: React$1.MouseEventHandler; onMouseLeave?: React$1.MouseEventHandler; name?: string; children?: React$1.ReactNode; id?: string; optionType?: RadioGroupOptionType; buttonStyle?: RadioGroupButtonStyle; onFocus?: React$1.FocusEventHandler; onBlur?: React$1.FocusEventHandler; } declare type RadioProps = AbstractCheckboxProps; interface RadioChangeEventTarget extends RadioProps { checked: boolean; } interface RadioChangeEvent { target: RadioChangeEventTarget; stopPropagation: () => void; preventDefault: () => void; nativeEvent: MouseEvent; } declare const _default$6: React$1.MemoExoticComponent>>; declare type RadioButtonProps = AbstractCheckboxProps; declare const _default$5: React$1.ForwardRefExoticComponent>; interface CompoundedComponent$2 extends React$1.ForwardRefExoticComponent> { Group: typeof _default$6; Button: typeof _default$5; __ANT_RADIO: boolean; } declare const Radio: CompoundedComponent$2; interface RateProps extends RateProps$1 { tooltips?: Array; } declare const Rate: React$1.ForwardRefExoticComponent>; declare const IconMap: { success: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; error: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; info: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; warning: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; }; declare type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500'; declare type ResultStatusType = ExceptionStatusType | keyof typeof IconMap; interface ResultProps { icon?: React$1.ReactNode; status?: ResultStatusType; title?: React$1.ReactNode; subTitle?: React$1.ReactNode; extra?: React$1.ReactNode; prefixCls?: string; className?: string; style?: React$1.CSSProperties; children?: React$1.ReactNode; } interface ResultType extends React$1.FC { PRESENTED_IMAGE_404: React$1.FC; PRESENTED_IMAGE_403: React$1.FC; PRESENTED_IMAGE_500: React$1.FC; } declare const Result: ResultType; interface SegmentedLabeledOptionWithoutIcon extends SegmentedLabeledOption$1 { label: SegmentedLabeledOption$1['label']; } interface SegmentedLabeledOptionWithIcon extends Omit { label?: SegmentedLabeledOption$1['label']; /** Set icon for Segmented item */ icon: React$1.ReactNode; } declare type SegmentedLabeledOption = SegmentedLabeledOptionWithIcon | SegmentedLabeledOptionWithoutIcon; interface SegmentedProps extends Omit { options: (SegmentedRawOption | SegmentedLabeledOption)[]; /** Option to fit width to its parent's width */ block?: boolean; /** Option to control the display size */ size?: SizeType; } declare const Segmented: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface SkeletonElementProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; size?: 'large' | 'small' | 'default' | number; shape?: 'circle' | 'square' | 'round' | 'default'; active?: boolean; } interface SkeletonNodeProps extends Omit { fullSize?: boolean; children?: React$1.ReactNode; } interface SkeletonImageProps extends Omit { } interface SkeletonInputProps extends Omit { size?: 'large' | 'small' | 'default'; block?: boolean; } interface SkeletonButtonProps extends Omit { size?: 'large' | 'small' | 'default'; block?: boolean; } interface AvatarProps extends Omit { shape?: 'circle' | 'square'; } declare type widthUnit = number | string; interface SkeletonParagraphProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; width?: widthUnit | Array; rows?: number; } interface SkeletonTitleProps { prefixCls?: string; className?: string; style?: React$1.CSSProperties; width?: number | string; } interface SkeletonAvatarProps extends Omit { } interface SkeletonProps { active?: boolean; loading?: boolean; prefixCls?: string; className?: string; style?: React$1.CSSProperties; children?: React$1.ReactNode; avatar?: SkeletonAvatarProps | boolean; title?: SkeletonTitleProps | boolean; paragraph?: SkeletonParagraphProps | boolean; round?: boolean; } declare const Skeleton: { (props: SkeletonProps): JSX.Element | null; defaultProps: { avatar: boolean; title: boolean; paragraph: boolean; }; Button: { (props: SkeletonButtonProps): JSX.Element; defaultProps: { size: string; }; }; Avatar: { (props: AvatarProps): JSX.Element; defaultProps: { size: string; shape: string; }; }; Input: { (props: SkeletonInputProps): JSX.Element; defaultProps: { size: string; }; }; Image: (props: SkeletonImageProps) => JSX.Element; Node: React$1.FC; }; declare type SliderMarks = SliderProps['marks']; interface SliderBaseProps { prefixCls?: string; tooltipPrefixCls?: string; reverse?: boolean; min?: number; max?: number; step?: null | number; marks?: SliderMarks; dots?: boolean; included?: boolean; disabled?: boolean; vertical?: boolean; tipFormatter?: null | ((value?: number) => React$1.ReactNode); className?: string; id?: string; style?: React$1.CSSProperties; tooltipVisible?: boolean; tooltipPlacement?: TooltipPlacement; getTooltipPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; autoFocus?: boolean; } interface SliderSingleProps extends SliderBaseProps { range?: false; value?: number; defaultValue?: number; onChange?: (value: number) => void; onAfterChange?: (value: number) => void; handleStyle?: React$1.CSSProperties; trackStyle?: React$1.CSSProperties; } interface SliderRangeProps extends SliderBaseProps { range: true | SliderRange; value?: [number, number]; defaultValue?: [number, number]; onChange?: (value: [number, number]) => void; onAfterChange?: (value: [number, number]) => void; handleStyle?: React$1.CSSProperties[]; trackStyle?: React$1.CSSProperties[]; } interface SliderRange { draggableTrack?: boolean; } declare const Slider: React$1.ForwardRefExoticComponent<(SliderSingleProps | SliderRangeProps) & React$1.RefAttributes>; declare type SpaceSize = SizeType | number; interface SpaceProps extends React$1.HTMLAttributes { prefixCls?: string; className?: string; style?: React$1.CSSProperties; size?: SpaceSize | [SpaceSize, SpaceSize]; direction?: 'horizontal' | 'vertical'; align?: 'start' | 'end' | 'center' | 'baseline'; split?: React$1.ReactNode; wrap?: boolean; } declare const Space: React$1.FC; declare type valueType = number | string; declare type countdownValueType = valueType | string; declare type Formatter = false | 'number' | 'countdown' | ((value: valueType, config?: FormatConfig) => React$1.ReactNode); interface FormatConfig { formatter?: Formatter; decimalSeparator?: string; groupSeparator?: string; precision?: number; prefixCls?: string; } interface CountdownProps extends StatisticProps { value?: countdownValueType; format?: string; onFinish?: () => void; onChange?: (value?: countdownValueType) => void; } declare class Countdown extends React$1.Component { static defaultProps: Partial; countdownId?: number; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; syncTimer: () => void; startTimer: () => void; stopTimer: () => void; formatCountdown: (value: countdownValueType, config: FormatConfig) => string; valueRender: (node: React$1.ReactElement) => React$1.ReactElement>; render(): JSX.Element; } interface StatisticComponent { Countdown: typeof Countdown; } interface StatisticProps extends FormatConfig { prefixCls?: string; className?: string; style?: React$1.CSSProperties; value?: valueType; valueStyle?: React$1.CSSProperties; valueRender?: (node: React$1.ReactNode) => React$1.ReactNode; title?: React$1.ReactNode; prefix?: React$1.ReactNode; suffix?: React$1.ReactNode; loading?: boolean; onMouseEnter?: React$1.MouseEventHandler; onMouseLeave?: React$1.MouseEventHandler; } declare const WrapperStatistic: React$1.FC & StatisticComponent; interface StepsProps { type?: 'default' | 'navigation'; className?: string; current?: number; direction?: 'horizontal' | 'vertical'; iconPrefix?: string; initial?: number; labelPlacement?: 'horizontal' | 'vertical'; prefixCls?: string; progressDot?: boolean | ProgressDotRender; responsive?: boolean; size?: 'default' | 'small'; status?: 'wait' | 'process' | 'finish' | 'error'; style?: React$1.CSSProperties; percent?: number; onChange?: (current: number) => void; children?: React$1.ReactNode; } interface StepProps { className?: string; description?: React$1.ReactNode; icon?: React$1.ReactNode; onClick?: React$1.MouseEventHandler; status?: 'wait' | 'process' | 'finish' | 'error'; disabled?: boolean; title?: React$1.ReactNode; subTitle?: React$1.ReactNode; style?: React$1.CSSProperties; } interface StepsType extends React$1.FC { Step: typeof RcSteps.Step; } declare const Steps: StepsType; declare type SwitchSize = 'small' | 'default'; declare type SwitchChangeEventHandler = (checked: boolean, event: React$1.MouseEvent) => void; declare type SwitchClickEventHandler = SwitchChangeEventHandler; interface SwitchProps { prefixCls?: string; size?: SwitchSize; className?: string; checked?: boolean; defaultChecked?: boolean; onChange?: SwitchChangeEventHandler; onClick?: SwitchClickEventHandler; checkedChildren?: React$1.ReactNode; unCheckedChildren?: React$1.ReactNode; disabled?: boolean; loading?: boolean; autoFocus?: boolean; style?: React$1.CSSProperties; title?: string; tabIndex?: number; id?: string; } interface CompoundedComponent$1 extends React$1.ForwardRefExoticComponent> { __ANT_SWITCH: boolean; } declare const Switch: CompoundedComponent$1; interface ColumnProps extends ColumnType { children?: null; } /** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */ declare function Column(_: ColumnProps): null; interface ColumnGroupProps extends Omit, 'children'> { children: React$1.ReactElement> | React$1.ReactElement>[]; } /** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */ declare function ColumnGroup(_: ColumnGroupProps): null; interface TableProps extends Omit, 'transformColumns' | 'internalHooks' | 'internalRefs' | 'data' | 'columns' | 'scroll' | 'emptyText'> { dropdownPrefixCls?: string; dataSource?: TableProps$1['data']; columns?: ColumnsType; pagination?: false | TablePaginationConfig; loading?: boolean | SpinProps; size?: SizeType; bordered?: boolean; locale?: TableLocale; onChange?: (pagination: TablePaginationConfig, filters: Record, sorter: SorterResult | SorterResult[], extra: TableCurrentDataSource) => void; rowSelection?: TableRowSelection; getPopupContainer?: GetPopupContainer; scroll?: TableProps$1['scroll'] & { scrollToFirstRowOnChange?: boolean; }; sortDirections?: SortOrder[]; showSorterTooltip?: boolean | TooltipProps; } declare const ForwardTable: (props: TableProps & { children?: React$1.ReactNode; } & { ref?: React$1.Ref | undefined; }) => React$1.ReactElement; declare type InternalTableType = typeof ForwardTable; interface TableInterface extends InternalTableType { defaultProps?: Partial>; SELECTION_COLUMN: typeof SELECTION_COLUMN; EXPAND_COLUMN: typeof RcTable.EXPAND_COLUMN; SELECTION_ALL: 'SELECT_ALL'; SELECTION_INVERT: 'SELECT_INVERT'; SELECTION_NONE: 'SELECT_NONE'; Column: typeof Column; ColumnGroup: typeof ColumnGroup; Summary: typeof Summary; } declare const Table: TableInterface; interface TimelineItemProps { prefixCls?: string; className?: string; color?: string; dot?: React$1.ReactNode; pending?: boolean; position?: string; style?: React$1.CSSProperties; label?: React$1.ReactNode; children?: React$1.ReactNode; } interface TimelineProps { prefixCls?: string; className?: string; /** 指定最后一个幽灵节点是否存在或内容 */ pending?: React$1.ReactNode; pendingDot?: React$1.ReactNode; style?: React$1.CSSProperties; reverse?: boolean; mode?: 'left' | 'alternate' | 'right'; children?: React$1.ReactNode; } interface TimelineType extends React$1.FC { Item: React$1.FC; } declare const Timeline: TimelineType; declare type ExpandAction = false | 'click' | 'doubleClick'; interface DirectoryTreeProps extends TreeProps { expandAction?: ExpandAction; } declare type DirectoryTreeCompoundedComponent = ((props: React$1.PropsWithChildren> & { ref?: React$1.Ref; }) => React$1.ReactElement) & { defaultProps: Partial>>; displayName?: string; }; declare const ForwardDirectoryTree: DirectoryTreeCompoundedComponent; declare type SwitcherIcon = React$1.ReactNode | ((props: AntTreeNodeProps) => React$1.ReactNode); interface AntdTreeNodeAttribute { eventKey: string; prefixCls: string; className: string; expanded: boolean; selected: boolean; checked: boolean; halfChecked: boolean; children: React$1.ReactNode; title: React$1.ReactNode; pos: string; dragOver: boolean; dragOverGapTop: boolean; dragOverGapBottom: boolean; isLeaf: boolean; selectable: boolean; disabled: boolean; disableCheckbox: boolean; } interface AntTreeNodeProps { className?: string; checkable?: boolean; disabled?: boolean; disableCheckbox?: boolean; title?: string | React$1.ReactNode; key?: Key$1; eventKey?: string; isLeaf?: boolean; checked?: boolean; expanded?: boolean; loading?: boolean; selected?: boolean; selectable?: boolean; icon?: ((treeNode: AntdTreeNodeAttribute) => React$1.ReactNode) | React$1.ReactNode; children?: React$1.ReactNode; [customProp: string]: any; } interface AntTreeNode extends React$1.Component { } declare type DraggableFn = (node: DataNode) => boolean; interface DraggableConfig { icon?: React$1.ReactNode | false; nodeDraggable?: DraggableFn; } interface TreeProps extends Omit, 'prefixCls' | 'showLine' | 'direction' | 'draggable' | 'icon' | 'switcherIcon'> { showLine?: boolean | { showLeafIcon: boolean; }; className?: string; /** 是否支持多选 */ multiple?: boolean; /** 是否自动展开父节点 */ autoExpandParent?: boolean; /** Checkable状态下节点选择完全受控(父子节点选中状态不再关联) */ checkStrictly?: boolean; /** 是否支持选中 */ checkable?: boolean; /** 是否禁用树 */ disabled?: boolean; /** 默认展开所有树节点 */ defaultExpandAll?: boolean; /** 默认展开对应树节点 */ defaultExpandParent?: boolean; /** 默认展开指定的树节点 */ defaultExpandedKeys?: Key$1[]; /** (受控)展开指定的树节点 */ expandedKeys?: Key$1[]; /** (受控)选中复选框的树节点 */ checkedKeys?: Key$1[] | { checked: Key$1[]; halfChecked: Key$1[]; }; /** 默认选中复选框的树节点 */ defaultCheckedKeys?: Key$1[]; /** (受控)设置选中的树节点 */ selectedKeys?: Key$1[]; /** 默认选中的树节点 */ defaultSelectedKeys?: Key$1[]; selectable?: boolean; /** 点击树节点触发 */ filterAntTreeNode?: (node: AntTreeNode) => boolean; loadedKeys?: Key$1[]; /** 设置节点可拖拽(IE>8) */ draggable?: DraggableFn | boolean | DraggableConfig; style?: React$1.CSSProperties; showIcon?: boolean; icon?: ((nodeProps: AntdTreeNodeAttribute) => React$1.ReactNode) | React$1.ReactNode | TreeProps$1['icon']; switcherIcon?: SwitcherIcon | TreeProps$1['switcherIcon']; prefixCls?: string; children?: React$1.ReactNode; blockNode?: boolean; } declare type CompoundedComponent = ((props: React$1.PropsWithChildren> & { ref?: React$1.Ref; }) => React$1.ReactElement) & { defaultProps: Partial>>; TreeNode: typeof TreeNode; DirectoryTree: typeof ForwardDirectoryTree; }; declare const Tree: CompoundedComponent; interface TreeSelectProps extends Omit, 'showTreeIcon' | 'treeMotion' | 'inputIcon' | 'mode' | 'getInputElement' | 'backfill' | 'treeLine' | 'switcherIcon'> { suffixIcon?: React$1.ReactNode; size?: SizeType; disabled?: boolean; placement?: SelectCommonPlacement; bordered?: boolean; treeLine?: TreeProps['showLine']; status?: InputStatus; switcherIcon?: SwitcherIcon | TreeSelectProps$1['switcherIcon']; } declare const TreeSelectRef: (props: TreeSelectProps & { children?: React$1.ReactNode; } & { ref?: React$1.Ref | undefined; }) => React$1.ReactElement; declare type InternalTreeSelectType = typeof TreeSelectRef; interface TreeSelectInterface extends InternalTreeSelectType { TreeNode: typeof TreeNode$1; SHOW_ALL: typeof SHOW_ALL; SHOW_PARENT: typeof SHOW_PARENT; SHOW_CHILD: typeof SHOW_CHILD; } declare const TreeSelect: TreeSelectInterface; interface TypographyProps$1 { id?: string; prefixCls?: string; className?: string; style?: React$1.CSSProperties; children?: React$1.ReactNode; ['aria-label']?: string; } declare const ExportTypography: React$1.FC; declare type BaseType = 'secondary' | 'success' | 'warning' | 'danger'; interface CopyConfig { text?: string; onCopy?: (event?: React$1.MouseEvent) => void; icon?: React$1.ReactNode; tooltips?: boolean | React$1.ReactNode; format?: 'text/plain' | 'text/html'; } interface EditConfig { editing?: boolean; icon?: React$1.ReactNode; tooltip?: boolean | React$1.ReactNode; onStart?: () => void; onChange?: (value: string) => void; onCancel?: () => void; onEnd?: () => void; maxLength?: number; autoSize?: boolean | AutoSizeType; triggerType?: ('icon' | 'text')[]; enterIcon?: React$1.ReactNode; } interface EllipsisConfig { rows?: number; expandable?: boolean; suffix?: string; symbol?: React$1.ReactNode; onExpand?: React$1.MouseEventHandler; onEllipsis?: (ellipsis: boolean) => void; tooltip?: React$1.ReactNode | TooltipProps; } interface BlockProps extends TypographyProps$1 { title?: string; editable?: boolean | EditConfig; copyable?: boolean | CopyConfig; type?: BaseType; disabled?: boolean; ellipsis?: boolean | EllipsisConfig; code?: boolean; mark?: boolean; underline?: boolean; delete?: boolean; strong?: boolean; keyboard?: boolean; italic?: boolean; } interface LinkProps extends BlockProps, Omit, 'type'> { ellipsis?: boolean; } declare const _default$4: React$1.ForwardRefExoticComponent>; interface ParagraphProps extends BlockProps { onClick?: (e?: React$1.MouseEvent) => void; } declare const _default$3: React$1.ForwardRefExoticComponent>; interface TextProps extends BlockProps { ellipsis?: boolean | Omit; onClick?: (e?: React$1.MouseEvent) => void; } declare const _default$2: React$1.ForwardRefExoticComponent>; declare const TITLE_ELE_LIST: [1, 2, 3, 4, 5]; declare type TitleProps = Omit) => void; }, 'strong'>; declare const _default$1: React$1.ForwardRefExoticComponent>; declare type TypographyProps = typeof ExportTypography & { Text: typeof _default$2; Link: typeof _default$4; Title: typeof _default$1; Paragraph: typeof _default$3; }; declare const Typography: TypographyProps; declare type DraggerProps = UploadProps & { height?: number; }; declare const Dragger: React$1.FC; declare const Upload$1: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare type InternalUploadType = typeof Upload$1; interface UploadInterface extends InternalUploadType { (props: React.PropsWithChildren> & React.RefAttributes): React.ReactElement; Dragger: typeof Dragger; LIST_IGNORE: string; } declare const Upload: UploadInterface; declare const _default: "0.0.2"; export { AffixFC as Affix, AffixProps, Alert, AlertProps, Anchor, AnchorLinkProps, AnchorProps, RefAutoComplete as AutoComplete, AutoCompleteProps, Avatar, AvatarProps$1 as AvatarProps, _default$b as BackTop, BackTopProps, Badge, BadgeProps, Breadcrumb, BreadcrumbItemProps, BreadcrumbProps, Button, ButtonProps, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselProps, Cascader, CascaderProps, Checkbox, CheckboxOptionType, CheckboxProps, Col, ColProps, Collapse, CollapsePanelProps, CollapseProps, Comment, CommentProps, ConfigProvider, DatePicker, DatePickerProps, Descriptions, DescriptionsProps, Divider, DividerProps, Drawer, DrawerProps, DropdownProps as DropDownProps, Dropdown, DropdownProps, Empty, EmptyProps, Form, FormInstance, FormItemProps, FormListFieldData, FormListOperation, FormProps, _default$a as Grid, Image, Input, _default$9 as InputNumber, InputNumberProps, InputProps, Layout, BasicProps as LayoutProps, List, ListProps, MentionProps, Mentions, Menu, MenuItemProps, MenuProps, MenuTheme, ArgsProps$1 as MessageArgsProps, Modal, ModalFuncProps, ModalProps, PageHeader, PageHeaderProps, Pagination, PaginationProps, Popconfirm, PopconfirmProps, Popover, PopoverProps, Progress, ProgressProps, Radio, RadioChangeEvent, RadioGroupProps, RadioProps, Rate, RateProps, Result, ResultProps, Row, RowProps, Segmented, SegmentedProps, Select, SelectProps, SiderProps, Skeleton, SkeletonProps, Slider, SliderSingleProps, Space, SpaceProps, SpinFC as Spin, SpinProps, WrapperStatistic as Statistic, StatisticProps, StepProps, Steps, StepsProps, SubMenuProps, Switch, SwitchProps, Table, ColumnGroupType as TableColumnGroupType, ColumnProps as TableColumnProps, ColumnType as TableColumnType, ColumnsType as TableColumnsType, TablePaginationConfig, TableProps, Tabs, TabsProps, Tag, TagProps, TagType, _default$d as TimePicker, TimePickerProps, TimeRangePickerProps, Timeline, TimelineItemProps, TimelineProps, Tooltip, TooltipProps, Transfer, TransferProps, Tree, AntTreeNodeProps as TreeNodeProps, TreeProps, TreeSelect, TreeSelectProps, Typography, TypographyProps, Upload, UploadFile, UploadProps, _default$8 as message, _default$7 as notification, _default as version };