import { Resources } from '../AResource/AResource';
import { IATreeItem, IATreeSearchResult } from './ATree';
interface IATreeSearchProps<T extends IATreeItem<T>> {
    TreeSearchRenderer?: (props: IATreeSearchRendererProps<T>) => React.ReactNode;
    autoFocus?: boolean;
    initSearch: (inputValue: string) => void;
    isDisabled?: boolean | string;
    isEqual: (a: T, b: T) => boolean;
    isLoading?: boolean;
    maxLength?: number;
    onSearchKeyUp: () => void;
    resources: typeof Resources.ATree;
    searchDown: () => void;
    searchEnter: () => void;
    searchResult: IATreeSearchResult<T> | undefined;
    searchUp: () => void;
}
export declare const ATreeSearch: <T extends IATreeItem<T>>(props: IATreeSearchProps<T>) => React.ReactNode;
export interface IATreeSearchRendererProps<T extends IATreeItem<T>> {
    autoFocus?: boolean;
    isDisabled?: boolean | string;
    isEqual: (a: T, b: T) => boolean;
    maxLength?: number;
    onInputChange: (newValue: string) => void;
    onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
    onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
    resources: typeof Resources.ATree;
    searchDown: () => void;
    searchEnter: () => void;
    searchResult: IATreeSearchResult<T> | undefined;
    searchUp: () => void;
    tabIndex: number | undefined;
}
export {};
