import * as Vue from 'vue'; import { Ref, SetupContext, ToRefs, VNode, PropType, ComponentPublicInstance, UnwrapNestedRefs } from 'vue'; import { CheckboxProps } from '../../checkbox'; import { ClassName, TScroll, Styles, TNode, TreeOptionData, TNodeReturnValue } from '../../common'; import { TypeTreeEventState as TreeEventState } from 'tdesign-vue-next/lib/common/js/tree/types'; import { TdTreeProps, TreeInstanceFunctions } from '../type'; import { VirtualScrollConfig, useVModel as tdUseVModel } from '@tdesign/shared-hooks'; import { TreeStore } from 'tdesign-vue-next/lib/common/js/tree/tree-store'; export { ref, reactive, computed, watch, onMounted, toRefs, defineComponent, TransitionGroup } from 'vue'; export { CaretRightSmallIcon as TdCaretRightSmallIcon } from 'tdesign-icons-vue-next'; export { Checkbox as TCheckBox } from '../../checkbox'; export { Loading as TLoading } from '../../loading'; export { useConfig, usePrefixClass } from '@tdesign/shared-hooks'; export { useGlobalIcon } from '@tdesign/shared-hooks'; export { useLazyLoad } from '@tdesign/shared-hooks'; export { useVirtualScrollNew } from '@tdesign/shared-hooks'; export { TreeNode, privateKey } from 'tdesign-vue-next/lib/common/js/tree/tree-node'; export type TypeVModel = ReturnType; export type TypeRef = Ref; export type TypeSetupContext = SetupContext; export type TypeCreateElement = typeof Vue.h; export type TypeVNode = VNode; export type TypePropType = PropType; export type TypeCheckboxProps = CheckboxProps; export type TypeClassName = ClassName; export type TypeScroll = TScroll; export type TypeStyles = Styles; export type TypeTNode = TNode; export type TypeTNodeReturnValue = TNodeReturnValue; export type TypeTreeOptionData = TreeOptionData; export type TypeTreeEventState = TreeEventState; export type TypeVirtualScrollConfig = VirtualScrollConfig; export type TypeToRefs = ToRefs; export type TypeUnwrapNestedRefs = UnwrapNestedRefs; export interface TypeTreeInstance extends ComponentPublicInstance, TreeInstanceFunctions { } export type TreeProps = TdTreeProps & { treeStore?: TreeStore; }; export interface TypeOnDrag { default?: unknown; } export declare const isVueNext = true; export declare const TreeItemDefinition: { name: string; inject: { onDrag: TypeOnDrag; }; }; export declare function useRipple(el: unknown): void; export declare function withInstall(construct: T): T & Vue.Plugin; export interface UseVModelParams { value: Ref; eventName?: string; propName?: string; } export declare function getCreateElement(h?: TypeCreateElement): typeof Vue.h; export declare function getScopedSlots(instance: ComponentPublicInstance): Readonly<{ [name: string]: Vue.Slot; }>; export declare function useVModel(props: TreeProps & Record, refsProps: ToRefs & Record, propName?: string, defaultPropName?: string, eventPropName?: string, eventName?: string): [Vue.Ref, import("@tdesign/shared-hooks").ChangeHandler];