import { PvTreeOption, PvTreeSetting, PvTreeSettings } from './types'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; interface PvTreeProps { /** Per-field rendering and behavior settings for tree nodes */ settings: PvTreeSettings; /** Default settings applied to all node types before field-specific overrides */ defaultSettings?: PvTreeSetting; /** Enable drag-and-drop reordering of tree items */ isDraggable?: boolean; /** Disable click-to-select behavior on tree items */ disableSelection?: boolean; /** * node_ids to force open, e.g. so a selection made from OUTSIDE the tree (a linked canvas or * minimap) can reveal a row nested inside collapsed accordions without the caller reaching into * the DOM. One-way only: an id here forces that row's accordion open, but removing it later does * NOT close a row the reviewer may have opened themselves -- each row's own `accordionOpen` stays * the source of truth otherwise, uncontrolled as before. */ openNodeIds?: Array; } type __VLS_Props = PvTreeProps; type __VLS_PublicProps = { "selectedOptions"?: PvTreeOption[]; "options": PvTreeOption[]; "treeOpen"?: boolean; } & __VLS_Props; declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:selectedOptions": (value: PvTreeOption[]) => any; "update:options": (value: PvTreeOption[]) => any; "update:treeOpen": (value: boolean) => any; }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:selectedOptions"?: ((value: PvTreeOption[]) => any) | undefined; "onUpdate:options"?: ((value: PvTreeOption[]) => any) | undefined; "onUpdate:treeOpen"?: ((value: boolean) => any) | undefined; }>, { disableSelection: boolean; isDraggable: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, { treeRef: HTMLDivElement; }, HTMLDivElement>; export default _default;