import { TreeNode } from '../tree';
import { TreeSearchProps } from './interface';
declare function clearKeyword(): void;
/** 获取搜索关键字 */
declare function getKeyword(): string;
/** 执行搜索 */
declare function search(keyword1?: string): Promise<void>;
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TreeSearchProps, {
    clearKeyword: typeof clearKeyword;
    getKeyword: typeof getKeyword;
    search: typeof search;
    filter: (keyword: string, filterMethod?: import('../tree').FilterFunctionType | undefined) => void;
    remove: (removedKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
    scrollTo: (key: import('../tree').TreeNodeKeyType, verticalPosition?: number | "bottom" | "top" | "center") => void;
    append: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, parentKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
    insertBefore: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, referenceKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
    prepend: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, parentKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
    clearSelected: () => void;
    setData: (data: import('../tree').AnyPropsArrayType) => void;
    setChecked: (key: import('../tree').TreeNodeKeyType, value: boolean) => void;
    setCheckedKeys: (keys: import('../tree').TreeNodeKeyType[], value: boolean) => void;
    checkAll: () => void;
    clearChecked: () => void;
    setSelected: (key: import('../tree').TreeNodeKeyType, value: boolean) => void;
    setExpand: (key: import('../tree').TreeNodeKeyType, value: boolean, expandParent?: boolean) => void;
    setExpandKeys: (keys: import('../tree').TreeNodeKeyType[], value: boolean) => void;
    setExpandAll: (value: boolean) => void;
    getCheckedNodes: (ignoreMode?: "none" | "children" | "parents" | undefined) => TreeNode[];
    getCheckedKeys: (ignoreMode?: "none" | "children" | "parents" | undefined) => import('../tree').TreeNodeKeyType[];
    getIndeterminateNodes: () => TreeNode[];
    getSelectedNode: () => TreeNode | null;
    getSelectedKey: () => import('../tree').TreeNodeKeyType | null;
    getExpandNodes: () => TreeNode[];
    getExpandKeys: () => import('../tree').TreeNodeKeyType[];
    getCurrentVisibleNodes: () => TreeNode[];
    getNode: (key: import('../tree').TreeNodeKeyType) => TreeNode | null;
    getTreeData: () => TreeNode[];
    getFlatData: () => TreeNode[];
    getNodesCount: () => number;
    insertAfter: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, referenceKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
    showCheckedNodes: (showUnloadCheckedNodes?: boolean | undefined) => void;
    loadRootNodes: () => Promise<void>;
    updateNode: (key: import('../tree').TreeNodeKeyType, newNode: import('../tree').ITreeNodeOptions) => void;
    updateNodes: (newNodes: import('../tree').ITreeNodeOptions[]) => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TreeSearchProps> & Readonly<{}>, {
    data: import('../tree').AnyPropsArrayType;
    loading: boolean;
    searchPlaceholder: string;
    checkedButtonText: string;
    draggable: boolean;
    separator: string;
    cascade: boolean;
    showFooter: boolean;
    defaultExpandAll: boolean;
    expandedKeys: import('../tree').TreeNodeKeyType[];
    keyField: string;
    defaultExpandedKeys: import('../tree').TreeNodeKeyType[];
    checkable: boolean;
    emptyText: string;
    ignoreMode: "none" | "children" | "parents";
    filteredNodeCheckable: boolean;
    expandOnFilter: boolean;
    showLeftArrow: boolean;
    showRightArrow: boolean;
    selectable: boolean;
    titleField: string;
    showUnloadCheckedNodes: boolean;
    unloadDataList: import('../tree').AnyPropsArrayType;
    enableLeafOnly: boolean;
    disableAll: boolean;
    droppable: boolean;
    beforeDropMethod: (dragKey: import('../tree').TreeNodeKeyType, dropKey: import('../tree').TreeNodeKeyType, hoverPart: import('../tree/constants').dragHoverPartEnum) => boolean;
    autoLoad: boolean;
    unselectOnClick: boolean;
    nodeIndent: number;
    renderNodeAmount: number;
    nodeMinHeight: number;
    bufferNodeAmount: number;
    showCheckAll: boolean;
    showCheckedButton: boolean;
    searchLength: number;
    searchDisabled: boolean;
    searchRemote: boolean;
    searchDebounceTime: number;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
    treeRef: ({
        $: import('vue').ComponentInternalInstance;
        $data: {};
        $props: {
            readonly showLeftArrow?: boolean | undefined;
            readonly showRightArrow?: boolean | undefined;
            readonly data?: import('../tree').AnyPropsArrayType | undefined;
            readonly emptyText?: string | undefined;
            readonly modelValue?: string | number | import('../tree').TreeNodeKeyType[] | undefined;
            readonly selectable?: boolean | undefined;
            readonly checkable?: boolean | undefined;
            readonly separator?: string | undefined;
            readonly ignoreMode?: "none" | "children" | "parents" | undefined;
            readonly titleField?: string | undefined;
            readonly keyField?: string | undefined;
            readonly filterMethod?: import('../tree').FilterFunctionType | undefined;
            readonly showUnloadCheckedNodes?: boolean | undefined;
            readonly unloadDataList?: import('../tree').AnyPropsArrayType | undefined;
            readonly load?: import('../tree').LoadFn | undefined;
            readonly filteredNodeCheckable?: boolean | undefined;
            readonly cascade?: boolean | undefined;
            readonly enableLeafOnly?: boolean | undefined;
            readonly disableAll?: boolean | undefined;
            readonly defaultExpandAll?: boolean | undefined;
            readonly defaultExpandedKeys?: import('../tree').TreeNodeKeyType[] | undefined;
            readonly expandedKeys?: import('../tree').TreeNodeKeyType[] | undefined;
            readonly draggable?: boolean | undefined;
            readonly droppable?: boolean | undefined;
            readonly beforeDropMethod?: ((dragKey: import('../tree').TreeNodeKeyType, dropKey: import('../tree').TreeNodeKeyType, hoverPart: import('../tree/constants').dragHoverPartEnum) => boolean) | undefined;
            readonly autoLoad?: boolean | undefined;
            readonly render?: ((node: TreeNode) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
                [key: string]: any;
            }>) | undefined;
            readonly expandOnFilter?: boolean | undefined;
            readonly unselectOnClick?: boolean | undefined;
            readonly loading?: boolean | undefined;
            readonly nodeClassName?: string | object | (string | object)[] | ((node: TreeNode) => string | object | (string | object)[]) | undefined;
            readonly showLine?: boolean | import('../tree').ShowLine | undefined;
            readonly animation?: boolean | undefined;
            readonly nodeIndent?: number | undefined;
            readonly renderNodeAmount?: number | undefined;
            readonly nodeMinHeight?: number | undefined;
            readonly bufferNodeAmount?: number | undefined;
        } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
        $attrs: {
            [x: string]: unknown;
        };
        $refs: {
            [x: string]: unknown;
        } & {
            scrollArea: HTMLDivElement;
        };
        $slots: Readonly<{
            [name: string]: import('vue').Slot<any> | undefined;
        }>;
        $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
        $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
        $host: Element | null;
        $emit: (event: string, ...args: any[]) => void;
        $el: any;
        $options: import('vue').ComponentOptionsBase<Readonly<import('../tree').TreeProps> & Readonly<{}>, {
            setData: (data: import('../tree').AnyPropsArrayType) => void;
            setChecked: (key: import('../tree').TreeNodeKeyType, value: boolean) => void;
            setCheckedKeys: (keys: import('../tree').TreeNodeKeyType[], value: boolean) => void;
            checkAll: () => void;
            clearChecked: () => void;
            setSelected: (key: import('../tree').TreeNodeKeyType, value: boolean) => void;
            clearSelected: () => void;
            setExpand: (key: import('../tree').TreeNodeKeyType, value: boolean, expandParent?: boolean) => void;
            setExpandKeys: (keys: import('../tree').TreeNodeKeyType[], value: boolean) => void;
            setExpandAll: (value: boolean) => void;
            getCheckedNodes: (ignoreMode?: "none" | "children" | "parents" | undefined) => TreeNode[];
            getCheckedKeys: (ignoreMode?: "none" | "children" | "parents" | undefined) => import('../tree').TreeNodeKeyType[];
            getIndeterminateNodes: () => TreeNode[];
            getSelectedNode: () => TreeNode | null;
            getSelectedKey: () => import('../tree').TreeNodeKeyType | null;
            getExpandNodes: () => TreeNode[];
            getExpandKeys: () => import('../tree').TreeNodeKeyType[];
            getCurrentVisibleNodes: () => TreeNode[];
            getNode: (key: import('../tree').TreeNodeKeyType) => TreeNode | null;
            getTreeData: () => TreeNode[];
            getFlatData: () => TreeNode[];
            getNodesCount: () => number;
            insertBefore: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, referenceKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
            insertAfter: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, referenceKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
            append: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, parentKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
            prepend: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, parentKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
            remove: (removedKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
            filter: (keyword: string, filterMethod?: import('../tree').FilterFunctionType | undefined) => void;
            showCheckedNodes: (showUnloadCheckedNodes?: boolean | undefined) => void;
            loadRootNodes: () => Promise<void>;
            updateNode: (key: import('../tree').TreeNodeKeyType, newNode: import('../tree').ITreeNodeOptions) => void;
            updateNodes: (newNodes: import('../tree').ITreeNodeOptions[]) => void;
            scrollTo: (key: import('../tree').TreeNodeKeyType, verticalPosition?: number | "bottom" | "top" | "center") => void;
        }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
            data: import('../tree').AnyPropsArrayType;
            loading: boolean;
            draggable: boolean;
            separator: string;
            cascade: boolean;
            defaultExpandAll: boolean;
            expandedKeys: import('../tree').TreeNodeKeyType[];
            keyField: string;
            defaultExpandedKeys: import('../tree').TreeNodeKeyType[];
            checkable: boolean;
            emptyText: string;
            ignoreMode: "none" | "children" | "parents";
            filteredNodeCheckable: boolean;
            expandOnFilter: boolean;
            showLeftArrow: boolean;
            showRightArrow: boolean;
            selectable: boolean;
            titleField: string;
            showUnloadCheckedNodes: boolean;
            unloadDataList: import('../tree').AnyPropsArrayType;
            enableLeafOnly: boolean;
            disableAll: boolean;
            droppable: boolean;
            beforeDropMethod: (dragKey: import('../tree').TreeNodeKeyType, dropKey: import('../tree').TreeNodeKeyType, hoverPart: import('../tree/constants').dragHoverPartEnum) => boolean;
            autoLoad: boolean;
            unselectOnClick: boolean;
            nodeIndent: number;
            renderNodeAmount: number;
            nodeMinHeight: number;
            bufferNodeAmount: number;
        }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
            beforeCreate?: ((() => void) | (() => void)[]) | undefined;
            created?: ((() => void) | (() => void)[]) | undefined;
            beforeMount?: ((() => void) | (() => void)[]) | undefined;
            mounted?: ((() => void) | (() => void)[]) | undefined;
            beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
            updated?: ((() => void) | (() => void)[]) | undefined;
            activated?: ((() => void) | (() => void)[]) | undefined;
            deactivated?: ((() => void) | (() => void)[]) | undefined;
            beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
            beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
            destroyed?: ((() => void) | (() => void)[]) | undefined;
            unmounted?: ((() => void) | (() => void)[]) | undefined;
            renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
            renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
            errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
        };
        $forceUpdate: () => void;
        $nextTick: typeof import('vue').nextTick;
        $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
    } & Readonly<{
        data: import('../tree').AnyPropsArrayType;
        loading: boolean;
        draggable: boolean;
        separator: string;
        cascade: boolean;
        defaultExpandAll: boolean;
        expandedKeys: import('../tree').TreeNodeKeyType[];
        keyField: string;
        defaultExpandedKeys: import('../tree').TreeNodeKeyType[];
        checkable: boolean;
        emptyText: string;
        ignoreMode: "none" | "children" | "parents";
        filteredNodeCheckable: boolean;
        expandOnFilter: boolean;
        showLeftArrow: boolean;
        showRightArrow: boolean;
        selectable: boolean;
        titleField: string;
        showUnloadCheckedNodes: boolean;
        unloadDataList: import('../tree').AnyPropsArrayType;
        enableLeafOnly: boolean;
        disableAll: boolean;
        droppable: boolean;
        beforeDropMethod: (dragKey: import('../tree').TreeNodeKeyType, dropKey: import('../tree').TreeNodeKeyType, hoverPart: import('../tree/constants').dragHoverPartEnum) => boolean;
        autoLoad: boolean;
        unselectOnClick: boolean;
        nodeIndent: number;
        renderNodeAmount: number;
        nodeMinHeight: number;
        bufferNodeAmount: number;
    }> & Omit<Readonly<import('../tree').TreeProps> & Readonly<{}>, "filter" | "remove" | "scrollTo" | "append" | "insertBefore" | "prepend" | "clearSelected" | "setData" | "setChecked" | "setCheckedKeys" | "checkAll" | "clearChecked" | "setSelected" | "setExpand" | "setExpandKeys" | "setExpandAll" | "getCheckedNodes" | "getCheckedKeys" | "getIndeterminateNodes" | "getSelectedNode" | "getSelectedKey" | "getExpandNodes" | "getExpandKeys" | "getCurrentVisibleNodes" | "getNode" | "getTreeData" | "getFlatData" | "getNodesCount" | "insertAfter" | "showCheckedNodes" | "loadRootNodes" | "updateNode" | "updateNodes" | ("data" | "loading" | "draggable" | "separator" | "cascade" | "defaultExpandAll" | "expandedKeys" | "keyField" | "defaultExpandedKeys" | "checkable" | "emptyText" | "ignoreMode" | "filteredNodeCheckable" | "expandOnFilter" | "showLeftArrow" | "showRightArrow" | "selectable" | "titleField" | "showUnloadCheckedNodes" | "unloadDataList" | "enableLeafOnly" | "disableAll" | "droppable" | "beforeDropMethod" | "autoLoad" | "unselectOnClick" | "nodeIndent" | "renderNodeAmount" | "nodeMinHeight" | "bufferNodeAmount")> & import('vue').ShallowUnwrapRef<{
        setData: (data: import('../tree').AnyPropsArrayType) => void;
        setChecked: (key: import('../tree').TreeNodeKeyType, value: boolean) => void;
        setCheckedKeys: (keys: import('../tree').TreeNodeKeyType[], value: boolean) => void;
        checkAll: () => void;
        clearChecked: () => void;
        setSelected: (key: import('../tree').TreeNodeKeyType, value: boolean) => void;
        clearSelected: () => void;
        setExpand: (key: import('../tree').TreeNodeKeyType, value: boolean, expandParent?: boolean) => void;
        setExpandKeys: (keys: import('../tree').TreeNodeKeyType[], value: boolean) => void;
        setExpandAll: (value: boolean) => void;
        getCheckedNodes: (ignoreMode?: "none" | "children" | "parents" | undefined) => TreeNode[];
        getCheckedKeys: (ignoreMode?: "none" | "children" | "parents" | undefined) => import('../tree').TreeNodeKeyType[];
        getIndeterminateNodes: () => TreeNode[];
        getSelectedNode: () => TreeNode | null;
        getSelectedKey: () => import('../tree').TreeNodeKeyType | null;
        getExpandNodes: () => TreeNode[];
        getExpandKeys: () => import('../tree').TreeNodeKeyType[];
        getCurrentVisibleNodes: () => TreeNode[];
        getNode: (key: import('../tree').TreeNodeKeyType) => TreeNode | null;
        getTreeData: () => TreeNode[];
        getFlatData: () => TreeNode[];
        getNodesCount: () => number;
        insertBefore: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, referenceKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
        insertAfter: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, referenceKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
        append: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, parentKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
        prepend: (insertedNode: import('../tree').TreeNodeKeyType | import('../tree').ITreeNodeOptions, parentKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
        remove: (removedKey: import('../tree').TreeNodeKeyType) => TreeNode | null;
        filter: (keyword: string, filterMethod?: import('../tree').FilterFunctionType | undefined) => void;
        showCheckedNodes: (showUnloadCheckedNodes?: boolean | undefined) => void;
        loadRootNodes: () => Promise<void>;
        updateNode: (key: import('../tree').TreeNodeKeyType, newNode: import('../tree').ITreeNodeOptions) => void;
        updateNodes: (newNodes: import('../tree').ITreeNodeOptions[]) => void;
        scrollTo: (key: import('../tree').TreeNodeKeyType, verticalPosition?: number | "bottom" | "top" | "center") => void;
    }> & {} & import('vue').ComponentCustomProperties & {} & {
        $slots: {
            node?(_: {
                node: TreeNode;
            }): any;
            node?(_: {
                node: TreeNode;
            }): any;
            node?(_: {
                node: TreeNode;
            }): any;
            empty?(_: {}): any;
            loading?(_: {}): any;
        };
    }) | null;
}, any>, Partial<Record<string, (_: any) => any>> & {
    'search-input'?(_: {}): any;
    actions?(_: {}): any;
    footer?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
//# sourceMappingURL=TreeSearch.vue.d.ts.map