import { ComponentSchema } from '../../../../types/src/index'; import { ComputedRef, InjectionKey, Ref, Slots } from 'vue'; import { TreeProps } from './types'; export interface TreeContext { expandedKeys: Ref; handleSelect: (id: string, componentSchema: ComponentSchema) => void; selectedKeys: ComputedRef; slots: Slots; treeProps: TreeProps; } export declare const TREE_CONTEXT_KEY: InjectionKey; export declare function useTreeContext(): TreeContext | undefined;