import type { ComponentValue } from '../../types/shared/props'; import type { TreeModelValue, TreeOption, TreeOptions, TreeProps } from './types'; declare function expandAll(): void; declare function collapseAll(): void; declare function scrollToKey(value: ComponentValue): void; declare function setActiveKey(value: ComponentValue): void; /** The whole index, not the rendered rows: a collapsed subtree still holds checked nodes. */ declare function getCheckedKeys(leafOnly?: boolean, includeIndeterminate?: boolean): ComponentValue[]; declare function getVisibleKeys(): ComponentValue[]; declare function getData(value: ComponentValue): TreeOption | undefined; declare const __VLS_template: () => { __VLS_Slots: { search?: (props: {}) => any; } & { 'node-switcher'?: (props: { node: TreeOption; depth: number; loading: boolean; expanded: boolean; }) => any; } & { 'node-icon'?: (props: { node: TreeOption; depth: number; loading: boolean; expanded: boolean; hasChildren: boolean; }) => any; } & { 'node-content'?: (props: { node: TreeOption; depth: number; parts: import("./types").TreeHighlightPart[] | undefined; loading: boolean; expanded: boolean; hasChildren: boolean; }) => any; } & { 'node-suffix'?: (props: { node: TreeOption; depth: number; loading: boolean; expanded: boolean; hasChildren: boolean; }) => any; } & { empty?: (props: {}) => any; } & { 'node-drag-preview'?: (props: { node: TreeOption | undefined; }) => any; }; }; type __VLS_Slots = ReturnType['__VLS_Slots']; declare const __VLS_base: import("vue").DefineComponent void | undefined; scrollToKey: typeof scrollToKey; setActiveKey: typeof setActiveKey; expandKey: (value: ComponentValue) => void; collapseKey: (value: ComponentValue) => void; expandAll: typeof expandAll; collapseAll: typeof collapseAll; getCheckedKeys: typeof getCheckedKeys; getVisibleKeys: typeof getVisibleKeys; getData: typeof getData; activeIndex: import("vue").ShallowRef; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { change: (args_0: import("./types").TreeChangeDetail) => any; "update:model-value": (args_0: TreeModelValue) => any; collapse: (args_0: import("./types").TreeNodeDetail) => any; expand: (args_0: import("./types").TreeNodeDetail) => any; move: (args_0: import("./types").TreeMoveDetail) => any; "update:data": (args_0: TreeOptions) => any; "update:expandedKeys": (args_0: ComponentValue[]) => any; "node-click": (args_0: import("./types").TreeNodeDetail, args_1: MouseEvent) => any; "node-contextmenu": (args_0: import("./types").TreeNodeDetail, args_1: MouseEvent) => any; "update:searchValue": (args_0: string) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onChange?: ((args_0: import("./types").TreeChangeDetail) => any) | undefined; "onUpdate:model-value"?: ((args_0: TreeModelValue) => any) | undefined; onCollapse?: ((args_0: import("./types").TreeNodeDetail) => any) | undefined; onExpand?: ((args_0: import("./types").TreeNodeDetail) => any) | undefined; onMove?: ((args_0: import("./types").TreeMoveDetail) => any) | undefined; "onUpdate:data"?: ((args_0: TreeOptions) => any) | undefined; "onUpdate:expandedKeys"?: ((args_0: ComponentValue[]) => any) | undefined; "onNode-click"?: ((args_0: import("./types").TreeNodeDetail, args_1: MouseEvent) => any) | undefined; "onNode-contextmenu"?: ((args_0: import("./types").TreeNodeDetail, args_1: MouseEvent) => any) | undefined; "onUpdate:searchValue"?: ((args_0: string) => any) | undefined; }>, { data: readonly TreeOption[]; loading: boolean; disabled: boolean; lazy: boolean; itemSize: number; virtual: boolean; overScan: number; draggable: boolean; multiple: boolean; searchPlaceholder: string; filterable: boolean; showSwitcher: boolean; showCheckbox: boolean; indent: number; checkStrictly: boolean; expandOnly: boolean; dropInsideLeaf: boolean; accordion: boolean; highlightMatch: boolean; defaultSearchValue: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };