import React from 'react'; import type { Option, Options } from 'jamis-core'; import type { TransferProps } from '../../types'; interface TransferState { inputValue: string; searchResult: Options | null; isTreeDeferLoad: boolean; resultSelectMode: 'list' | 'tree' | 'table'; } export declare class Transfer extends React.Component { static defaultProps: Partial; state: TransferState; valueArray: Options; availableOptions: Options; unmounted: boolean; cancelSearch?: () => void; treeRef: any; inputRef: React.RefObject; /** 过滤后的选项 */ filtedOptions: Option[]; componentDidMount(): void; static getDerivedStateFromProps(props: TransferProps): { isTreeDeferLoad: boolean; resultSelectMode: string; }; componentWillUnmount(): void; setInputRef: (ref: React.RefObject) => void; domRef(ref: any): void; toggleAll: () => void; selectAll: () => void; clearAll: () => void; handleSearchKeyDown: (e: React.KeyboardEvent) => void; handleSearch: import("lodash").DebouncedFunc<(inputValue: string) => void>; handleSeachCancel: () => void; lazySearch: import("lodash").DebouncedFunc<() => Promise>; getFlattenArr(options: Array