import type { ExtractPropTypes, PropType, SlotsType, VNodeChild } from 'vue'; import { ExtraTreeNode } from '../../utils'; type INode = Record; export declare const horizontalTreeProps: { data: { type: PropType; }; props: { type: PropType<{ children?: string; label?: string; disabled?: string | ((data: INode[], node: INode) => string); class?: string | ((data: INode[], node: INode) => string); }>; }; nodeKey: { type: StringConstructor; }; nodeWidth: { type: StringConstructor; default: string; }; mergeLast: { type: BooleanConstructor; default: boolean; }; showCheckbox: { type: BooleanConstructor; }; checkStrictly: { type: BooleanConstructor; }; renderNode: { type: PropType<(node: ExtraTreeNode, defaultRender: () => VNodeChild) => VNodeChild>; }; renderContent: { type: PropType<(node: ExtraTreeNode, defaultRender: () => VNodeChild) => VNodeChild>; }; }; export type HorizontalTreeProps = ExtractPropTypes; export interface HorizontalTreeSlots { default: {}; } export declare const horizontalTreeSlots: SlotsType; export declare const horizontalTreeEmits: { 'check-change': (node: ExtraTreeNode, checked: boolean) => boolean; }; export type HorizontalTreeEmits = typeof horizontalTreeEmits; export interface HorizontalTreeExpose { getCheckedNodes: () => INode[]; setCheckedNodes: (nodes: INode[]) => void; getCheckedKeys: () => (string | number)[]; setCheckedKeys: (keys: (string | number)[]) => void; setLeafOnlyCheckedKeys: (keys: (string | number)[]) => void; setChecked: (key: string | number, checked: boolean) => void; getHalfCheckedNodes: () => INode[]; getHalfCheckedKeys: () => (string | number)[]; getNode: (key: string | number) => INode | undefined; } export {};