UNPKG

@alicloud/console-components

Version:

Alibaba Cloud React Components

448 lines (447 loc) 34.9 kB
import React from 'react'; import type { SelectProps } from '@alifd/next/types/select'; declare const Select: React.ComponentType<SelectProps & React.RefAttributes<unknown>> & import("hoist-non-react-statics").NonReactStatics<import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<SelectProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, { selectAllYet: boolean; componentDidUpdate(prevProps: SelectProps, prevState: import("@alifd/next/types/select/base").BaseState): void; componentDidMount(): void; ie9Hack(): void; useDetailValue(): boolean; hasSearch(): boolean; getTagSize(): "small" | "medium" | "large"; handleMenuSelect(keys: string[], item: { props: { _key: string; }; }): false | void; handleItemClick(key: string): void; handleSingleSelect(key: string, triggerType: import("@alifd/next/types/select").VisibleChangeType): void; handleMultipleSelect(keys: import("@alifd/next/types/select").DataSourceItem[], triggerType: import("@alifd/next/types/select").VisibleChangeType, key?: string, keepSearchValue?: boolean): void; updateSelectAllYet(value?: unknown): void; handleSearchValue(value: string): void; handleSearch(value: string, e: React.ChangeEvent<HTMLInputElement>): void; handleSearchClear(triggerType?: string): void; handleSearchKeyDown(e: React.KeyboardEvent<HTMLElement>): void; chooseMultipleItem(key: string): void; chooseHighlightItem(proxy: unknown, e: React.UIEvent<HTMLElement, UIEvent>): false; handleTagClose(item: import("@alifd/next/types/select").ObjectItem): boolean; handleDeleteTag(e: React.UIEvent<HTMLElement, UIEvent>): false; handleSelectAll(e: React.UIEvent<HTMLElement, UIEvent>): void; handleVisibleChange(visible: boolean, type: import("@alifd/next/types/select").VisibleChangeType): void; afterClose(): void; maxTagPlaceholder(selectedValues: import("@alifd/next/types/select").ObjectItem[], totalValues: import("@alifd/next/types/select").ObjectItem[]): string; renderValues(): React.ReactNode; handleWrapClick: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; handleArrowClick: (e: React.UIEvent<HTMLElement, UIEvent>) => void; handleClear: (e: React.UIEvent<HTMLElement, UIEvent>) => void; hasClear(): boolean; renderExtraNode(): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; renderSelect(): React.JSX.Element; renderSearchInput(valueNodes: React.ReactNode, placeholder: string, inputEl: React.ReactElement<any, string | React.JSXElementConstructor<any>>): React.JSX.Element; renderMenuHeader(): React.ReactNode; render(): React.JSX.Element; dataStore: import("@alifd/next/types/select/data-store").default; selectDOM: HTMLElement; width: string | number; popupRef: HTMLDivElement; resizeTimeout: number; highlightTimer: number; menuRef: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/menu").MenuProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/menu/view/menu").Menu>; isAutoComplete: boolean; inputRef: import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>; valueDataSource: { value?: string | number | boolean | (string | number | boolean)[]; valueDS?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]; mapValueDS?: Record<string, import("@alifd/next/types/select").ObjectItem>; }; componentWillUnmount(): void; syncWidth(): void; handleResize(): void; setDataSource(props: SelectProps): import("@alifd/next/types/select/types").NormalizedObjectItem[]; setVisible(visible: boolean, type?: import("@alifd/next/types/select").VisibleChangeType): void; setFirstHightLightKeyForMenu(searchValue?: unknown): void; handleChange(value: import("@alifd/next/types/select").DataSourceItem | import("@alifd/next/types/select").DataSourceItem[], args_0: unknown, args_1?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]): void; handleMenuBodyClick(): void; toggleHighlightItem(dir: number): false | import("@alifd/next/types/select/types").NormalizedObjectItem; scrollMenuIntoView(): void; handleSelect(): void; handleMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; renderMenu(): React.JSX.Element; renderMenuItem(dataSource: import("@alifd/next/types/select/types").NormalizedObjectItem[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; saveSelectRef: (ref: HTMLElement) => void; saveInputRef: (ref: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">) => void; focusInput(): void; focus(start?: number, end?: number, preventScroll?: boolean): void; beforeOpen(): void; beforeClose(): void; savePopupRef: (ref: HTMLDivElement) => void; shouldAutoWidth(): boolean; context: any; setState<K extends keyof import("@alifd/next/types/select/select").SelectState>(state: import("@alifd/next/types/select/select").SelectState | ((prevState: Readonly<import("@alifd/next/types/select/select").SelectState>, props: Readonly<SelectProps>) => import("@alifd/next/types/select/select").SelectState | Pick<import("@alifd/next/types/select/select").SelectState, K>) | Pick<import("@alifd/next/types/select/select").SelectState, K>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<SelectProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<import("@alifd/next/types/select/select").SelectState>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<SelectProps>, prevState: Readonly<import("@alifd/next/types/select/select").SelectState>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<SelectProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<SelectProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): void; }, Pick<{ selectAllYet: boolean; componentDidUpdate(prevProps: SelectProps, prevState: import("@alifd/next/types/select/base").BaseState): void; componentDidMount(): void; ie9Hack(): void; useDetailValue(): boolean; hasSearch(): boolean; getTagSize(): "small" | "medium" | "large"; handleMenuSelect(keys: string[], item: { props: { _key: string; }; }): false | void; handleItemClick(key: string): void; handleSingleSelect(key: string, triggerType: import("@alifd/next/types/select").VisibleChangeType): void; handleMultipleSelect(keys: import("@alifd/next/types/select").DataSourceItem[], triggerType: import("@alifd/next/types/select").VisibleChangeType, key?: string, keepSearchValue?: boolean): void; updateSelectAllYet(value?: unknown): void; handleSearchValue(value: string): void; handleSearch(value: string, e: React.ChangeEvent<HTMLInputElement>): void; handleSearchClear(triggerType?: string): void; handleSearchKeyDown(e: React.KeyboardEvent<HTMLElement>): void; chooseMultipleItem(key: string): void; chooseHighlightItem(proxy: unknown, e: React.UIEvent<HTMLElement, UIEvent>): false; handleTagClose(item: import("@alifd/next/types/select").ObjectItem): boolean; handleDeleteTag(e: React.UIEvent<HTMLElement, UIEvent>): false; handleSelectAll(e: React.UIEvent<HTMLElement, UIEvent>): void; handleVisibleChange(visible: boolean, type: import("@alifd/next/types/select").VisibleChangeType): void; afterClose(): void; maxTagPlaceholder(selectedValues: import("@alifd/next/types/select").ObjectItem[], totalValues: import("@alifd/next/types/select").ObjectItem[]): string; renderValues(): React.ReactNode; handleWrapClick: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; handleArrowClick: (e: React.UIEvent<HTMLElement, UIEvent>) => void; handleClear: (e: React.UIEvent<HTMLElement, UIEvent>) => void; hasClear(): boolean; renderExtraNode(): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; renderSelect(): React.JSX.Element; renderSearchInput(valueNodes: React.ReactNode, placeholder: string, inputEl: React.ReactElement<any, string | React.JSXElementConstructor<any>>): React.JSX.Element; renderMenuHeader(): React.ReactNode; render(): React.JSX.Element; dataStore: import("@alifd/next/types/select/data-store").default; selectDOM: HTMLElement; width: string | number; popupRef: HTMLDivElement; resizeTimeout: number; highlightTimer: number; menuRef: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/menu").MenuProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/menu/view/menu").Menu>; isAutoComplete: boolean; inputRef: import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>; valueDataSource: { value?: string | number | boolean | (string | number | boolean)[]; valueDS?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]; mapValueDS?: Record<string, import("@alifd/next/types/select").ObjectItem>; }; componentWillUnmount(): void; syncWidth(): void; handleResize(): void; setDataSource(props: SelectProps): import("@alifd/next/types/select/types").NormalizedObjectItem[]; setVisible(visible: boolean, type?: import("@alifd/next/types/select").VisibleChangeType): void; setFirstHightLightKeyForMenu(searchValue?: unknown): void; handleChange(value: import("@alifd/next/types/select").DataSourceItem | import("@alifd/next/types/select").DataSourceItem[], args_0: unknown, args_1?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]): void; handleMenuBodyClick(): void; toggleHighlightItem(dir: number): false | import("@alifd/next/types/select/types").NormalizedObjectItem; scrollMenuIntoView(): void; handleSelect(): void; handleMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; renderMenu(): React.JSX.Element; renderMenuItem(dataSource: import("@alifd/next/types/select/types").NormalizedObjectItem[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; saveSelectRef: (ref: HTMLElement) => void; saveInputRef: (ref: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">) => void; focusInput(): void; focus(start?: number, end?: number, preventScroll?: boolean): void; beforeOpen(): void; beforeClose(): void; savePopupRef: (ref: HTMLDivElement) => void; shouldAutoWidth(): boolean; context: any; setState<K_1 extends keyof import("@alifd/next/types/select/select").SelectState>(state: import("@alifd/next/types/select/select").SelectState | ((prevState: Readonly<import("@alifd/next/types/select/select").SelectState>, props: Readonly<SelectProps>) => import("@alifd/next/types/select/select").SelectState | Pick<import("@alifd/next/types/select/select").SelectState, K_1>) | Pick<import("@alifd/next/types/select/select").SelectState, K_1>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<SelectProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<import("@alifd/next/types/select/select").SelectState>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<SelectProps>, prevState: Readonly<import("@alifd/next/types/select/select").SelectState>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<SelectProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<SelectProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): void; }, "focusInput" | "handleSearchClear">> & { Option: typeof import("@alifd/next/types/select/option").default; OptionGroup: typeof import("@alifd/next/types/select/option-group").default; AutoComplete: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/select").AutoCompleteProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, { isInputing: boolean; componentDidUpdate(prevProps: import("@alifd/next/types/select").AutoCompleteProps): void; shouldControlPopup(props: Readonly<import("@alifd/next/types/select").AutoCompleteProps> & Readonly<{ children?: React.ReactNode; }>, type: import("@alifd/next/types/select").VisibleChangeType): void; handleMenuSelect(keys: string[]): void; handleItemClick(): void; handleSelectEvent(key: string, item: import("@alifd/next/types/select").ObjectItem, triggerType: import("@alifd/next/types/select").VisibleChangeType): void; handleChange: (value: string, proxy: import("@alifd/next/types/select").VisibleChangeType | React.ChangeEvent<HTMLElement>, item?: import("@alifd/next/types/select").ObjectItem) => false; handleVisibleChange(visible: boolean, type: import("@alifd/next/types/select").VisibleChangeType): void; beforeClose(): void; handleTriggerKeyDown(e: React.KeyboardEvent<HTMLElement>): void; chooseHighlightItem(): false; hasClear(): boolean | ""; renderSelect(props?: Readonly<import("@alifd/next/types/select").AutoCompleteProps> & Readonly<{ children?: React.ReactNode; }>): React.JSX.Element; render(): React.JSX.Element; dataStore: import("@alifd/next/types/select/data-store").default; selectDOM: HTMLElement; width: string | number; popupRef: HTMLDivElement; resizeTimeout: number; highlightTimer: number; menuRef: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/menu").MenuProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/menu/view/menu").Menu>; isAutoComplete: boolean; inputRef: import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>; valueDataSource: { value?: string | number | boolean | (string | number | boolean)[]; valueDS?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]; mapValueDS?: Record<string, import("@alifd/next/types/select").ObjectItem>; }; componentDidMount(): void; componentWillUnmount(): void; syncWidth(): void; handleResize(): void; setDataSource(props: import("@alifd/next/types/select").AutoCompleteProps): import("@alifd/next/types/select/types").NormalizedObjectItem[]; setVisible(visible: boolean, type?: import("@alifd/next/types/select").VisibleChangeType): void; setFirstHightLightKeyForMenu(searchValue?: unknown): void; handleMenuBodyClick(): void; toggleHighlightItem(dir: number): false | import("@alifd/next/types/select/types").NormalizedObjectItem; scrollMenuIntoView(): void; renderMenuHeader(): React.ReactNode; handleSelect(): void; handleMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; useDetailValue(): boolean; renderMenu(): React.JSX.Element; renderMenuItem(dataSource: import("@alifd/next/types/select/types").NormalizedObjectItem[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; saveSelectRef: (ref: HTMLElement) => void; saveInputRef: (ref: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">) => void; focusInput(): void; focus(start?: number, end?: number, preventScroll?: boolean): void; beforeOpen(): void; afterClose(): void; savePopupRef: (ref: HTMLDivElement) => void; shouldAutoWidth(): boolean; context: any; setState<K_1 extends keyof import("@alifd/next/types/select/auto-complete").AutoCompleteState>(state: import("@alifd/next/types/select/auto-complete").AutoCompleteState | ((prevState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, props: Readonly<import("@alifd/next/types/select").AutoCompleteProps>) => import("@alifd/next/types/select/auto-complete").AutoCompleteState | Pick<import("@alifd/next/types/select/auto-complete").AutoCompleteState, K_1>) | Pick<import("@alifd/next/types/select/auto-complete").AutoCompleteState, K_1>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<import("@alifd/next/types/select").AutoCompleteProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, prevState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, nextContext: any): void; }, {}>; Combobox: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<SelectProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, { selectAllYet: boolean; componentDidUpdate(prevProps: SelectProps, prevState: import("@alifd/next/types/select/base").BaseState): void; componentDidMount(): void; ie9Hack(): void; useDetailValue(): boolean; hasSearch(): boolean; getTagSize(): "small" | "medium" | "large"; handleMenuSelect(keys: string[], item: { props: { _key: string; }; }): false | void; handleItemClick(key: string): void; handleSingleSelect(key: string, triggerType: import("@alifd/next/types/select").VisibleChangeType): void; handleMultipleSelect(keys: import("@alifd/next/types/select").DataSourceItem[], triggerType: import("@alifd/next/types/select").VisibleChangeType, key?: string, keepSearchValue?: boolean): void; updateSelectAllYet(value?: unknown): void; handleSearchValue(value: string): void; handleSearch(value: string, e: React.ChangeEvent<HTMLInputElement>): void; handleSearchClear(triggerType?: string): void; handleSearchKeyDown(e: React.KeyboardEvent<HTMLElement>): void; chooseMultipleItem(key: string): void; chooseHighlightItem(proxy: unknown, e: React.UIEvent<HTMLElement, UIEvent>): false; handleTagClose(item: import("@alifd/next/types/select").ObjectItem): boolean; handleDeleteTag(e: React.UIEvent<HTMLElement, UIEvent>): false; handleSelectAll(e: React.UIEvent<HTMLElement, UIEvent>): void; handleVisibleChange(visible: boolean, type: import("@alifd/next/types/select").VisibleChangeType): void; afterClose(): void; maxTagPlaceholder(selectedValues: import("@alifd/next/types/select").ObjectItem[], totalValues: import("@alifd/next/types/select").ObjectItem[]): string; renderValues(): React.ReactNode; handleWrapClick: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; handleArrowClick: (e: React.UIEvent<HTMLElement, UIEvent>) => void; handleClear: (e: React.UIEvent<HTMLElement, UIEvent>) => void; hasClear(): boolean; renderExtraNode(): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; renderSelect(): React.JSX.Element; renderSearchInput(valueNodes: React.ReactNode, placeholder: string, inputEl: React.ReactElement<any, string | React.JSXElementConstructor<any>>): React.JSX.Element; renderMenuHeader(): React.ReactNode; render(): React.JSX.Element; dataStore: import("@alifd/next/types/select/data-store").default; selectDOM: HTMLElement; width: string | number; popupRef: HTMLDivElement; resizeTimeout: number; highlightTimer: number; menuRef: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/menu").MenuProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/menu/view/menu").Menu>; isAutoComplete: boolean; inputRef: import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>; valueDataSource: { value?: string | number | boolean | (string | number | boolean)[]; valueDS?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]; mapValueDS?: Record<string, import("@alifd/next/types/select").ObjectItem>; }; componentWillUnmount(): void; syncWidth(): void; handleResize(): void; setDataSource(props: SelectProps): import("@alifd/next/types/select/types").NormalizedObjectItem[]; setVisible(visible: boolean, type?: import("@alifd/next/types/select").VisibleChangeType): void; setFirstHightLightKeyForMenu(searchValue?: unknown): void; handleChange(value: import("@alifd/next/types/select").DataSourceItem | import("@alifd/next/types/select").DataSourceItem[], args_0: unknown, args_1?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]): void; handleMenuBodyClick(): void; toggleHighlightItem(dir: number): false | import("@alifd/next/types/select/types").NormalizedObjectItem; scrollMenuIntoView(): void; handleSelect(): void; handleMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; renderMenu(): React.JSX.Element; renderMenuItem(dataSource: import("@alifd/next/types/select/types").NormalizedObjectItem[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; saveSelectRef: (ref: HTMLElement) => void; saveInputRef: (ref: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">) => void; focusInput(): void; focus(start?: number, end?: number, preventScroll?: boolean): void; beforeOpen(): void; beforeClose(): void; savePopupRef: (ref: HTMLDivElement) => void; shouldAutoWidth(): boolean; context: any; setState<K_2 extends keyof import("@alifd/next/types/select/select").SelectState>(state: import("@alifd/next/types/select/select").SelectState | ((prevState: Readonly<import("@alifd/next/types/select/select").SelectState>, props: Readonly<SelectProps>) => import("@alifd/next/types/select/select").SelectState | Pick<import("@alifd/next/types/select/select").SelectState, K_2>) | Pick<import("@alifd/next/types/select/select").SelectState, K_2>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<SelectProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<import("@alifd/next/types/select/select").SelectState>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<SelectProps>, prevState: Readonly<import("@alifd/next/types/select/select").SelectState>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<SelectProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<SelectProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<SelectProps>, nextState: Readonly<import("@alifd/next/types/select/select").SelectState>, nextContext: any): void; }, {}>; }, {}>; export default Select; export declare const SelectAutoComplete: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/select").AutoCompleteProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, { isInputing: boolean; componentDidUpdate(prevProps: import("@alifd/next/types/select").AutoCompleteProps): void; shouldControlPopup(props: Readonly<import("@alifd/next/types/select").AutoCompleteProps> & Readonly<{ children?: React.ReactNode; }>, type: import("@alifd/next/types/select").VisibleChangeType): void; handleMenuSelect(keys: string[]): void; handleItemClick(): void; handleSelectEvent(key: string, item: import("@alifd/next/types/select").ObjectItem, triggerType: import("@alifd/next/types/select").VisibleChangeType): void; handleChange: (value: string, proxy: import("@alifd/next/types/select").VisibleChangeType | React.ChangeEvent<HTMLElement>, item?: import("@alifd/next/types/select").ObjectItem) => false; handleVisibleChange(visible: boolean, type: import("@alifd/next/types/select").VisibleChangeType): void; beforeClose(): void; handleTriggerKeyDown(e: React.KeyboardEvent<HTMLElement>): void; chooseHighlightItem(): false; hasClear(): boolean | ""; renderSelect(props?: Readonly<import("@alifd/next/types/select").AutoCompleteProps> & Readonly<{ children?: React.ReactNode; }>): React.JSX.Element; render(): React.JSX.Element; dataStore: import("@alifd/next/types/select/data-store").default; selectDOM: HTMLElement; width: string | number; popupRef: HTMLDivElement; resizeTimeout: number; highlightTimer: number; menuRef: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/menu").MenuProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/menu/view/menu").Menu>; isAutoComplete: boolean; inputRef: import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>; valueDataSource: { value?: string | number | boolean | (string | number | boolean)[]; valueDS?: import("@alifd/next/types/select").ObjectItem | import("@alifd/next/types/select").ObjectItem[]; mapValueDS?: Record<string, import("@alifd/next/types/select").ObjectItem>; }; componentDidMount(): void; componentWillUnmount(): void; syncWidth(): void; handleResize(): void; setDataSource(props: import("@alifd/next/types/select").AutoCompleteProps): import("@alifd/next/types/select/types").NormalizedObjectItem[]; setVisible(visible: boolean, type?: import("@alifd/next/types/select").VisibleChangeType): void; setFirstHightLightKeyForMenu(searchValue?: unknown): void; handleMenuBodyClick(): void; toggleHighlightItem(dir: number): false | import("@alifd/next/types/select/types").NormalizedObjectItem; scrollMenuIntoView(): void; renderMenuHeader(): React.ReactNode; handleSelect(): void; handleMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; useDetailValue(): boolean; renderMenu(): React.JSX.Element; renderMenuItem(dataSource: import("@alifd/next/types/select/types").NormalizedObjectItem[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>[]; saveSelectRef: (ref: HTMLElement) => void; saveInputRef: (ref: import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">) => void; focusInput(): void; focus(start?: number, end?: number, preventScroll?: boolean): void; beforeOpen(): void; afterClose(): void; savePopupRef: (ref: HTMLDivElement) => void; shouldAutoWidth(): boolean; context: any; setState<K_1 extends keyof import("@alifd/next/types/select/auto-complete").AutoCompleteState>(state: import("@alifd/next/types/select/auto-complete").AutoCompleteState | ((prevState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, props: Readonly<import("@alifd/next/types/select").AutoCompleteProps>) => import("@alifd/next/types/select/auto-complete").AutoCompleteState | Pick<import("@alifd/next/types/select/auto-complete").AutoCompleteState, K_1>) | Pick<import("@alifd/next/types/select/auto-complete").AutoCompleteState, K_1>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<import("@alifd/next/types/select").AutoCompleteProps> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, prevState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/select").AutoCompleteProps>, nextState: Readonly<import("@alifd/next/types/select/auto-complete").AutoCompleteState>, nextContext: any): void; }, {}>; export declare const SelectOption: typeof import("@alifd/next/types/select/option").default; export declare const SelectOptionGroup: typeof import("@alifd/next/types/select/option-group").default; export type { SelectProps, OptionProps, OptionProps as SelectOptionProps, OptionGroupProps, OptionGroupProps as SelectOptionGroupProps, AutoCompleteProps, AutoCompleteProps as SelectAutoCompleteProps, } from '@alifd/next/types/select';