import { nextTick, StyleValue, DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
import { FilterValue, TreeNodeData, TreeOptionProps, LoadFunction, FilterNodeMethodFunction, RenderContentFunction } from '../../tree/src/tree.type.js';
import { TreeSelectProps } from './tree-select.js';
import { ComponentSize } from '../../../xiaoye-primitives/index.js';
import { TreeKey, TreeData, AllowDropFunction, AllowDragFunction, CheckedInfo, NodeDropType, TreeDragPayload } from '../../index.js';
import { Placement } from '@floating-ui/dom';
import { default as __DTS_DEFAULT_0__ } from '../../tree/src/model/node.js';
import { OnCleanup } from '@vue/reactivity';
declare function openDropdown(): Promise<void>;
declare function closeDropdown(shouldValidate?: boolean, restoreFocus?: boolean): Promise<void>;
declare function focus(): void;
declare function blur(): Promise<void>;
declare function filter(value: string): void;
declare const _default: DefineComponent<TreeSelectProps, {
    focus: typeof focus;
    blur: typeof blur;
    open: typeof openDropdown;
    close: typeof closeDropdown;
    filter: typeof filter;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
    clear: () => any;
    blur: () => any;
    change: (value: string | number | null) => any;
    focus: () => any;
    "update:modelValue": (value: string | number | null) => any;
    visibleChange: (value: boolean) => any;
}, string, PublicProps, Readonly<TreeSelectProps> & Readonly<{
    onClear?: (() => any) | undefined;
    onBlur?: (() => any) | undefined;
    onChange?: ((value: string | number | null) => any) | undefined;
    onFocus?: (() => any) | undefined;
    "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
    onVisibleChange?: ((value: boolean) => any) | undefined;
}>, {
    size: ComponentSize;
    modelValue: TreeKey | null;
    load: LoadFunction;
    placement: Placement;
    data: TreeData;
    disabled: boolean;
    offset: number;
    teleported: boolean;
    appendTo: string | HTMLElement;
    props: TreeOptionProps;
    placeholder: string;
    clearable: boolean;
    popperClass: string;
    popperStyle: string | false | CSSProperties | StyleValue[] | null;
    emptyText: string;
    lazy: boolean;
    filterable: boolean;
    searchPlaceholder: string;
    filterNodeMethod: FilterNodeMethodFunction;
    nodeKey: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    triggerRef: HTMLDivElement;
    dropdownRef: HTMLDivElement;
    dropdownArrowRef: HTMLSpanElement;
    treeRef: ({
        $: ComponentInternalInstance;
        $data: {};
        $props: Partial<{
            readonly load: LoadFunction;
            readonly data: TreeData;
            readonly props: TreeOptionProps;
            readonly indent: number;
            readonly icon: string | Component;
            readonly emptyText: string;
            readonly draggable: boolean;
            readonly lazy: boolean;
            readonly accordion: boolean;
            readonly checkStrictly: boolean;
            readonly defaultExpandAll: boolean;
            readonly filterNodeMethod: FilterNodeMethodFunction;
            readonly currentNodeKey: TreeKey | null;
            readonly defaultCheckedKeys: TreeKey[];
            readonly checkDescendants: boolean;
            readonly defaultExpandedKeys: TreeKey[];
            readonly autoExpandParent: boolean;
            readonly allowDrop: AllowDropFunction;
            readonly renderContent: RenderContentFunction;
            readonly renderAfterExpand: boolean;
            readonly showCheckbox: boolean;
            readonly nodeKey: string;
            readonly expandOnClickNode: boolean;
            readonly checkOnClickNode: boolean;
            readonly checkOnClickLeaf: boolean;
            readonly allowDrag: AllowDragFunction;
            readonly highlightCurrent: boolean;
        }> & Omit<{
            readonly data: TreeData;
            readonly props: TreeOptionProps;
            readonly indent: number;
            readonly icon: string | Component;
            readonly emptyText: string;
            readonly draggable: boolean;
            readonly lazy: boolean;
            readonly accordion: boolean;
            readonly checkStrictly: boolean;
            readonly defaultExpandAll: boolean;
            readonly checkDescendants: boolean;
            readonly autoExpandParent: boolean;
            readonly renderAfterExpand: boolean;
            readonly showCheckbox: boolean;
            readonly expandOnClickNode: boolean;
            readonly checkOnClickNode: boolean;
            readonly checkOnClickLeaf: boolean;
            readonly highlightCurrent: boolean;
            readonly load?: LoadFunction | undefined;
            readonly filterNodeMethod?: FilterNodeMethodFunction | undefined;
            readonly currentNodeKey?: TreeKey | null | undefined;
            readonly defaultCheckedKeys?: TreeKey[] | undefined;
            readonly defaultExpandedKeys?: TreeKey[] | undefined;
            readonly allowDrop?: AllowDropFunction | undefined;
            readonly renderContent?: RenderContentFunction | undefined;
            readonly nodeKey?: string | undefined;
            readonly allowDrag?: AllowDragFunction | undefined;
            readonly onCheck?: ((_data: TreeNodeData, _checkedInfo: CheckedInfo) => any) | undefined;
            readonly "onCurrent-change"?: ((_data: TreeNodeData | null, _node: __DTS_DEFAULT_0__ | null) => any) | undefined;
            readonly "onNode-drag-start"?: ((_node: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            readonly "onNode-drag-leave"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            readonly "onNode-drag-enter"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            readonly "onNode-drag-over"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            readonly "onNode-drag-end"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__ | null, _dropType: NodeDropType, _event: DragEvent, _detail: TreeDragPayload) => any) | undefined;
            readonly "onNode-drop"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _dropType: "after" | "before" | "inner", _event: DragEvent, _detail: TreeDragPayload) => any) | undefined;
            readonly "onNode-expand"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
            readonly "onCheck-change"?: ((_data: TreeNodeData, _checked: boolean, _indeterminate: boolean) => any) | undefined;
            readonly "onNode-click"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null, _event: MouseEvent) => any) | undefined;
            readonly "onNode-contextmenu"?: ((_event: Event, _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
            readonly "onNode-collapse"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
        } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "load" | "data" | "props" | "indent" | "icon" | "emptyText" | "draggable" | "lazy" | "accordion" | "checkStrictly" | "defaultExpandAll" | "filterNodeMethod" | "currentNodeKey" | "defaultCheckedKeys" | "checkDescendants" | "defaultExpandedKeys" | "autoExpandParent" | "allowDrop" | "renderContent" | "renderAfterExpand" | "showCheckbox" | "nodeKey" | "expandOnClickNode" | "checkOnClickNode" | "checkOnClickLeaf" | "allowDrag" | "highlightCurrent">;
        $attrs: Attrs;
        $refs: {
            [x: string]: unknown;
        } & {
            treeRef: HTMLDivElement;
            dropIndicatorRef: HTMLDivElement;
        };
        $slots: Readonly<{
            [name: string]: Slot<any> | undefined;
        }>;
        $root: ComponentPublicInstance | null;
        $parent: ComponentPublicInstance | null;
        $host: Element | null;
        $emit: ((event: "check", _data: TreeNodeData, _checkedInfo: CheckedInfo) => void) & ((event: "current-change", _data: TreeNodeData | null, _node: __DTS_DEFAULT_0__ | null) => void) & ((event: "node-drag-start", _node: __DTS_DEFAULT_0__, _event: DragEvent) => void) & ((event: "node-drag-leave", _draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => void) & ((event: "node-drag-enter", _draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => void) & ((event: "node-drag-over", _draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => void) & ((event: "node-drag-end", _draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__ | null, _dropType: NodeDropType, _event: DragEvent, _detail: TreeDragPayload) => void) & ((event: "node-drop", _draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _dropType: "after" | "before" | "inner", _event: DragEvent, _detail: TreeDragPayload) => void) & ((event: "node-expand", _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => void) & ((event: "check-change", _data: TreeNodeData, _checked: boolean, _indeterminate: boolean) => void) & ((event: "node-click", _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null, _event: MouseEvent) => void) & ((event: "node-contextmenu", _event: Event, _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => void) & ((event: "node-collapse", _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => void);
        $el: HTMLDivElement;
        $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
            readonly data: {
                readonly type: PropType<TreeData>;
                readonly default: () => never[];
            };
            readonly emptyText: {
                readonly type: StringConstructor;
                readonly default: "暂无数据";
            };
            readonly renderAfterExpand: {
                readonly type: BooleanConstructor;
                readonly default: true;
            };
            readonly nodeKey: {
                readonly type: StringConstructor;
                readonly default: undefined;
            };
            readonly checkStrictly: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly checkDescendants: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly defaultExpandAll: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly expandOnClickNode: {
                readonly type: BooleanConstructor;
                readonly default: true;
            };
            readonly checkOnClickNode: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly checkOnClickLeaf: {
                readonly type: BooleanConstructor;
                readonly default: true;
            };
            readonly autoExpandParent: {
                readonly type: BooleanConstructor;
                readonly default: true;
            };
            readonly defaultCheckedKeys: {
                readonly type: PropType< TreeKey[]>;
                readonly default: undefined;
            };
            readonly defaultExpandedKeys: {
                readonly type: PropType< TreeKey[]>;
                readonly default: undefined;
            };
            readonly currentNodeKey: {
                readonly type: PropType< TreeKey | null>;
                readonly default: undefined;
            };
            readonly renderContent: {
                readonly type: PropType<RenderContentFunction>;
                readonly default: undefined;
            };
            readonly showCheckbox: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly props: {
                readonly type: PropType<TreeOptionProps>;
                readonly default: () => TreeOptionProps;
            };
            readonly lazy: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly draggable: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly allowDrag: {
                readonly type: PropType<AllowDragFunction>;
                readonly default: undefined;
            };
            readonly allowDrop: {
                readonly type: PropType<AllowDropFunction>;
                readonly default: undefined;
            };
            readonly highlightCurrent: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly load: {
                readonly type: PropType<LoadFunction>;
                readonly default: undefined;
            };
            readonly filterNodeMethod: {
                readonly type: PropType<FilterNodeMethodFunction>;
                readonly default: undefined;
            };
            readonly accordion: {
                readonly type: BooleanConstructor;
                readonly default: false;
            };
            readonly indent: {
                readonly type: NumberConstructor;
                readonly default: 18;
            };
            readonly icon: {
                readonly type: PropType<string | Component>;
                readonly default: "mdi:chevron-right";
            };
        }>> & Readonly<{
            onCheck?: ((_data: TreeNodeData, _checkedInfo: CheckedInfo) => any) | undefined;
            "onCurrent-change"?: ((_data: TreeNodeData | null, _node: __DTS_DEFAULT_0__ | null) => any) | undefined;
            "onNode-drag-start"?: ((_node: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            "onNode-drag-leave"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            "onNode-drag-enter"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            "onNode-drag-over"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
            "onNode-drag-end"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__ | null, _dropType: NodeDropType, _event: DragEvent, _detail: TreeDragPayload) => any) | undefined;
            "onNode-drop"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _dropType: "after" | "before" | "inner", _event: DragEvent, _detail: TreeDragPayload) => any) | undefined;
            "onNode-expand"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
            "onCheck-change"?: ((_data: TreeNodeData, _checked: boolean, _indeterminate: boolean) => any) | undefined;
            "onNode-click"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null, _event: MouseEvent) => any) | undefined;
            "onNode-contextmenu"?: ((_event: Event, _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
            "onNode-collapse"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
        }>, {
            filter: (value: FilterValue) => void;
            updateKeyChildren: (key: TreeKey, data: TreeNodeData[]) => void;
            getNodePath: (data: TreeKey | TreeNodeData) => TreeNodeData[];
            getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[];
            setCheckedNodes: (nodes: TreeNodeData[], leafOnly?: boolean) => void;
            getCheckedKeys: (leafOnly?: boolean) => TreeKey[];
            setCheckedKeys: (keys: TreeKey[], leafOnly?: boolean) => void;
            setChecked: (data: TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void;
            getHalfCheckedNodes: () => TreeNodeData[];
            getHalfCheckedKeys: () => TreeKey[];
            getCurrentKey: () => TreeKey | null;
            getCurrentNode: () => TreeNodeData | null;
            setCurrentKey: (key?: TreeKey | null, shouldAutoExpandParent?: boolean) => void;
            setCurrentNode: (node: TreeKey | TreeNodeData | __DTS_DEFAULT_0__, shouldAutoExpandParent?: boolean) => void;
            getNode: (data: TreeKey | TreeNodeData) => __DTS_DEFAULT_0__ | null;
            remove: (data: TreeNodeData | __DTS_DEFAULT_0__) => void;
            append: (data: TreeNodeData, parentNode?: TreeNodeData | TreeKey | __DTS_DEFAULT_0__) => void;
            insertBefore: (data: TreeNodeData, refNode: TreeKey | TreeNodeData | __DTS_DEFAULT_0__) => void;
            insertAfter: (data: TreeNodeData, refNode: TreeKey | TreeNodeData | __DTS_DEFAULT_0__) => void;
        }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
            check: (_data: TreeNodeData, _checkedInfo: CheckedInfo) => void;
            "current-change": (_data: TreeNodeData | null, _node: __DTS_DEFAULT_0__ | null) => void;
            "node-drag-start": (_node: __DTS_DEFAULT_0__, _event: DragEvent) => void;
            "node-drag-leave": (_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => void;
            "node-drag-enter": (_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => void;
            "node-drag-over": (_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => void;
            "node-drag-end": (_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__ | null, _dropType: NodeDropType, _event: DragEvent, _detail: TreeDragPayload) => void;
            "node-drop": (_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _dropType: "after" | "before" | "inner", _event: DragEvent, _detail: TreeDragPayload) => void;
            "node-expand": (_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => void;
            "check-change": (_data: TreeNodeData, _checked: boolean, _indeterminate: boolean) => void;
            "node-click": (_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null, _event: MouseEvent) => void;
            "node-contextmenu": (_event: Event, _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => void;
            "node-collapse": (_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => void;
        }, string, {
            readonly load: LoadFunction;
            readonly data: TreeData;
            readonly props: TreeOptionProps;
            readonly indent: number;
            readonly icon: string | Component;
            readonly emptyText: string;
            readonly draggable: boolean;
            readonly lazy: boolean;
            readonly accordion: boolean;
            readonly checkStrictly: boolean;
            readonly defaultExpandAll: boolean;
            readonly filterNodeMethod: FilterNodeMethodFunction;
            readonly currentNodeKey: TreeKey | null;
            readonly defaultCheckedKeys: TreeKey[];
            readonly checkDescendants: boolean;
            readonly defaultExpandedKeys: TreeKey[];
            readonly autoExpandParent: boolean;
            readonly allowDrop: AllowDropFunction;
            readonly renderContent: RenderContentFunction;
            readonly renderAfterExpand: boolean;
            readonly showCheckbox: boolean;
            readonly nodeKey: string;
            readonly expandOnClickNode: boolean;
            readonly checkOnClickNode: boolean;
            readonly checkOnClickLeaf: boolean;
            readonly allowDrag: AllowDragFunction;
            readonly highlightCurrent: boolean;
        }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
            beforeCreate?: (() => void) | (() => void)[];
            created?: (() => void) | (() => void)[];
            beforeMount?: (() => void) | (() => void)[];
            mounted?: (() => void) | (() => void)[];
            beforeUpdate?: (() => void) | (() => void)[];
            updated?: (() => void) | (() => void)[];
            activated?: (() => void) | (() => void)[];
            deactivated?: (() => void) | (() => void)[];
            beforeDestroy?: (() => void) | (() => void)[];
            beforeUnmount?: (() => void) | (() => void)[];
            destroyed?: (() => void) | (() => void)[];
            unmounted?: (() => void) | (() => void)[];
            renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
        };
        $forceUpdate: () => void;
        $nextTick: typeof nextTick;
        $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
    } & Readonly<{
        readonly load: LoadFunction;
        readonly data: TreeData;
        readonly props: TreeOptionProps;
        readonly indent: number;
        readonly icon: string | Component;
        readonly emptyText: string;
        readonly draggable: boolean;
        readonly lazy: boolean;
        readonly accordion: boolean;
        readonly checkStrictly: boolean;
        readonly defaultExpandAll: boolean;
        readonly filterNodeMethod: FilterNodeMethodFunction;
        readonly currentNodeKey: TreeKey | null;
        readonly defaultCheckedKeys: TreeKey[];
        readonly checkDescendants: boolean;
        readonly defaultExpandedKeys: TreeKey[];
        readonly autoExpandParent: boolean;
        readonly allowDrop: AllowDropFunction;
        readonly renderContent: RenderContentFunction;
        readonly renderAfterExpand: boolean;
        readonly showCheckbox: boolean;
        readonly nodeKey: string;
        readonly expandOnClickNode: boolean;
        readonly checkOnClickNode: boolean;
        readonly checkOnClickLeaf: boolean;
        readonly allowDrag: AllowDragFunction;
        readonly highlightCurrent: boolean;
    }> & Omit<Readonly< ExtractPropTypes<{
        readonly data: {
            readonly type: PropType<TreeData>;
            readonly default: () => never[];
        };
        readonly emptyText: {
            readonly type: StringConstructor;
            readonly default: "暂无数据";
        };
        readonly renderAfterExpand: {
            readonly type: BooleanConstructor;
            readonly default: true;
        };
        readonly nodeKey: {
            readonly type: StringConstructor;
            readonly default: undefined;
        };
        readonly checkStrictly: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly checkDescendants: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly defaultExpandAll: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly expandOnClickNode: {
            readonly type: BooleanConstructor;
            readonly default: true;
        };
        readonly checkOnClickNode: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly checkOnClickLeaf: {
            readonly type: BooleanConstructor;
            readonly default: true;
        };
        readonly autoExpandParent: {
            readonly type: BooleanConstructor;
            readonly default: true;
        };
        readonly defaultCheckedKeys: {
            readonly type: PropType< TreeKey[]>;
            readonly default: undefined;
        };
        readonly defaultExpandedKeys: {
            readonly type: PropType< TreeKey[]>;
            readonly default: undefined;
        };
        readonly currentNodeKey: {
            readonly type: PropType< TreeKey | null>;
            readonly default: undefined;
        };
        readonly renderContent: {
            readonly type: PropType<RenderContentFunction>;
            readonly default: undefined;
        };
        readonly showCheckbox: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly props: {
            readonly type: PropType<TreeOptionProps>;
            readonly default: () => TreeOptionProps;
        };
        readonly lazy: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly draggable: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly allowDrag: {
            readonly type: PropType<AllowDragFunction>;
            readonly default: undefined;
        };
        readonly allowDrop: {
            readonly type: PropType<AllowDropFunction>;
            readonly default: undefined;
        };
        readonly highlightCurrent: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly load: {
            readonly type: PropType<LoadFunction>;
            readonly default: undefined;
        };
        readonly filterNodeMethod: {
            readonly type: PropType<FilterNodeMethodFunction>;
            readonly default: undefined;
        };
        readonly accordion: {
            readonly type: BooleanConstructor;
            readonly default: false;
        };
        readonly indent: {
            readonly type: NumberConstructor;
            readonly default: 18;
        };
        readonly icon: {
            readonly type: PropType<string | Component>;
            readonly default: "mdi:chevron-right";
        };
    }>> & Readonly<{
        onCheck?: ((_data: TreeNodeData, _checkedInfo: CheckedInfo) => any) | undefined;
        "onCurrent-change"?: ((_data: TreeNodeData | null, _node: __DTS_DEFAULT_0__ | null) => any) | undefined;
        "onNode-drag-start"?: ((_node: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
        "onNode-drag-leave"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
        "onNode-drag-enter"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
        "onNode-drag-over"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _event: DragEvent) => any) | undefined;
        "onNode-drag-end"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__ | null, _dropType: NodeDropType, _event: DragEvent, _detail: TreeDragPayload) => any) | undefined;
        "onNode-drop"?: ((_draggingNode: __DTS_DEFAULT_0__, _dropNode: __DTS_DEFAULT_0__, _dropType: "after" | "before" | "inner", _event: DragEvent, _detail: TreeDragPayload) => any) | undefined;
        "onNode-expand"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
        "onCheck-change"?: ((_data: TreeNodeData, _checked: boolean, _indeterminate: boolean) => any) | undefined;
        "onNode-click"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null, _event: MouseEvent) => any) | undefined;
        "onNode-contextmenu"?: ((_event: Event, _data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
        "onNode-collapse"?: ((_data: TreeNodeData, _node: __DTS_DEFAULT_0__, _nodeInstance: ComponentInternalInstance | null) => any) | undefined;
    }>, "filter" | "remove" | "append" | "updateKeyChildren" | "insertBefore" | "insertAfter" | "setChecked" | "getNode" | "getCheckedNodes" | "getCheckedKeys" | "getHalfCheckedNodes" | "getHalfCheckedKeys" | "setCheckedNodes" | "setCheckedKeys" | "getCurrentNode" | "setCurrentNode" | "getNodePath" | "getCurrentKey" | "setCurrentKey" | ("load" | "data" | "props" | "indent" | "icon" | "emptyText" | "draggable" | "lazy" | "accordion" | "checkStrictly" | "defaultExpandAll" | "filterNodeMethod" | "currentNodeKey" | "defaultCheckedKeys" | "checkDescendants" | "defaultExpandedKeys" | "autoExpandParent" | "allowDrop" | "renderContent" | "renderAfterExpand" | "showCheckbox" | "nodeKey" | "expandOnClickNode" | "checkOnClickNode" | "checkOnClickLeaf" | "allowDrag" | "highlightCurrent")> & ShallowUnwrapRef<{
        filter: (value: FilterValue) => void;
        updateKeyChildren: (key: TreeKey, data: TreeNodeData[]) => void;
        getNodePath: (data: TreeKey | TreeNodeData) => TreeNodeData[];
        getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[];
        setCheckedNodes: (nodes: TreeNodeData[], leafOnly?: boolean) => void;
        getCheckedKeys: (leafOnly?: boolean) => TreeKey[];
        setCheckedKeys: (keys: TreeKey[], leafOnly?: boolean) => void;
        setChecked: (data: TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void;
        getHalfCheckedNodes: () => TreeNodeData[];
        getHalfCheckedKeys: () => TreeKey[];
        getCurrentKey: () => TreeKey | null;
        getCurrentNode: () => TreeNodeData | null;
        setCurrentKey: (key?: TreeKey | null, shouldAutoExpandParent?: boolean) => void;
        setCurrentNode: (node: TreeKey | TreeNodeData | __DTS_DEFAULT_0__, shouldAutoExpandParent?: boolean) => void;
        getNode: (data: TreeKey | TreeNodeData) => __DTS_DEFAULT_0__ | null;
        remove: (data: TreeNodeData | __DTS_DEFAULT_0__) => void;
        append: (data: TreeNodeData, parentNode?: TreeNodeData | TreeKey | __DTS_DEFAULT_0__) => void;
        insertBefore: (data: TreeNodeData, refNode: TreeKey | TreeNodeData | __DTS_DEFAULT_0__) => void;
        insertAfter: (data: TreeNodeData, refNode: TreeKey | TreeNodeData | __DTS_DEFAULT_0__) => void;
    }> & {} & ComponentCustomProperties & {} & {
        $slots: {
            empty?(_: {}): any;
        };
    }) | null;
}, HTMLDivElement>;
export default _default;
