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