UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

25 lines (24 loc) 1.26 kB
import { SlotsType, UnwrapRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue'; import { TreeNode } from '../collection'; import { UseTreeViewContext } from './use-tree-view-context'; export interface TreeViewContextProps<T extends TreeNode> extends SlotsType<{ default: UnwrapRef<UseTreeViewContext<T>>; }> { } declare const _default: <T extends TreeNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {} & Partial<{}>> & PublicProps; expose(exposed: ShallowUnwrapRef<{}>): void; attrs: any; slots: Readonly<{ default(treeView: UnwrapRef<UseTreeViewContext<T>>): unknown; }> & { default(treeView: UnwrapRef<UseTreeViewContext<T>>): unknown; }; emit: {}; }>) => VNode & { __ctx?: Awaited<typeof __VLS_setup>; }; export default _default; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {};