import { HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue'; import { Assign } from '../../types'; import { TreeNode } from '../collection'; import { PolymorphicProps } from '../factory'; import { RootProps } from './tree-view.types'; import { RenderStrategyProps } from '../../utils/use-render-strategy'; import { FocusChangeDetails, CheckedChangeDetails, ExpandedChangeDetails, SelectionChangeDetails, LoadChildrenCompleteDetails, LoadChildrenErrorDetails, RenameStartDetails, RenameCompleteDetails } from '@zag-js/tree-view'; export interface TreeViewRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicProps { } export interface TreeViewRootProps extends TreeViewRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export type TreeViewRootComponentProps = Assign, P>; export type TreeViewRootComponent

= (props: TreeViewRootComponentProps) => any; export type { RootEmits as TreeViewRootEmits } from './tree-view.types'; declare const _default: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & Omit<{ readonly onFocusChange?: ((details: FocusChangeDetails) => any) | undefined; readonly onCheckedChange?: ((details: CheckedChangeDetails) => any) | undefined; readonly "onUpdate:focusedValue"?: ((value: string | null) => any) | undefined; readonly onExpandedChange?: ((details: ExpandedChangeDetails) => any) | undefined; readonly onSelectionChange?: ((details: SelectionChangeDetails) => any) | undefined; readonly onLoadChildrenComplete?: ((details: LoadChildrenCompleteDetails) => any) | undefined; readonly onLoadChildrenError?: ((details: LoadChildrenErrorDetails) => any) | undefined; readonly onRenameStart?: ((details: RenameStartDetails) => any) | undefined; readonly onBeforeRename?: ((details: RenameCompleteDetails) => any) | undefined; readonly onRenameComplete?: ((details: RenameCompleteDetails) => any) | undefined; readonly "onUpdate:expandedValue"?: ((value: string[]) => any) | undefined; readonly "onUpdate:selectedValue"?: ((value: string[]) => any) | undefined; readonly "onUpdate:checkedValue"?: ((value: string[]) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onFocusChange" | "onCheckedChange" | "onUpdate:focusedValue" | "onExpandedChange" | "onSelectionChange" | "onRenameStart" | "onBeforeRename" | "onRenameComplete" | "onLoadChildrenComplete" | "onLoadChildrenError" | "onUpdate:expandedValue" | "onUpdate:selectedValue" | "onUpdate:checkedValue"> & TreeViewRootProps & Partial<{}>> & PublicProps; expose(exposed: ShallowUnwrapRef<{}>): void; attrs: any; slots: { default?(_: {}): any; }; emit: ((evt: "focusChange", details: FocusChangeDetails) => void) & ((evt: "checkedChange", details: CheckedChangeDetails) => void) & ((evt: "update:focusedValue", value: string | null) => void) & ((evt: "expandedChange", details: ExpandedChangeDetails) => void) & ((evt: "selectionChange", details: SelectionChangeDetails) => void) & ((evt: "loadChildrenComplete", details: LoadChildrenCompleteDetails) => void) & ((evt: "loadChildrenError", details: LoadChildrenErrorDetails) => void) & ((evt: "renameStart", details: RenameStartDetails) => void) & ((evt: "beforeRename", details: RenameCompleteDetails) => void) & ((evt: "renameComplete", details: RenameCompleteDetails) => void) & ((evt: "update:expandedValue", value: string[]) => void) & ((evt: "update:selectedValue", value: string[]) => void) & ((evt: "update:checkedValue", value: string[]) => void); }>) => VNode & { __ctx?: Awaited; }; export default _default; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};