import { Ref } from 'vue'; export type TreeKeys = string | number; export interface Node { label: string; value: string; icon?: string; children?: Node[]; isLeaf?: boolean; isExpand?: boolean; checked?: boolean; isSelect?: boolean; loading?: boolean; isLoad?: boolean; [key: string]: any; } export interface Props { flex?: boolean; mode?: string; expand?: boolean; data: Node[]; modelValue?: Node[] | string; toggleLink?: false; checkLink?: false; checkable?: false; selectable?: false; checkStrictly?: false; accordion?: false; childrenText?: string; valueText?: string; labelText?: string; emptyText?: string; load?: (node: any) => any | null; parentSelectable?: boolean; filterNodeMethod?: (key: any, node: any) => any | null; } declare function filter(val: any): void; export interface ProvideType { setPropertyByValue: (value: string, setValue: boolean, prop: string) => void; itemClick: (node: any) => void; setCheckByParentAndChild: (arr: Node[], value: string, setVale: boolean) => void; store: Ref; change: (value: any, item: Node) => void; setStopChange: (value: boolean) => void; setChildren: (node: Node, children: Node[], needReset?: boolean) => void; setParentCheck: (arr: Node[]) => void; updateModelValue: () => void; } declare function __VLS_template(): { default?(_: { item: any; }): any; }; declare const __VLS_component: import("vue").DefineComponent void; "update:modelValue": (...args: any[]) => void; "item-click": (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly & Readonly<{ onChange?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onItem-click"?: (...args: any[]) => any; }>, { mode: string; data: Node[]; load: (node: any) => any | null; expand: boolean; valueText: string; labelText: string; modelValue: Node[] | string; emptyText: string; toggleLink: false; checkLink: false; selectable: false; checkable: false; checkStrictly: false; accordion: false; childrenText: string; parentSelectable: boolean; filterNodeMethod: (key: any, node: any) => any | null; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };