///
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: any | undefined;
/** 过滤后的选项 */
filtedOptions: Option[];
componentDidMount(): void;
static getDerivedStateFromProps(props: TransferProps): {
isTreeDeferLoad: boolean;
resultSelectMode: string;
};
componentWillUnmount(): void;
setInputRef: (ref: any) => void;
domRef(ref: any): void;
toggleAll(): void;
selectAll(): void;
clearAll(): void;
handleSearchKeyDown(e: React.KeyboardEvent): void;
handleSearch: import("lodash-es").DebouncedFunc<(inputValue: string) => void>;
handleSeachCancel(): void;
lazySearch: import("lodash-es").DebouncedFunc<() => Promise>;
getFlattenArr(options: Array