import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/dashboard-navbar'; import type { DashboardContext } from '../utils/dashboard'; import type { ButtonProps, IconComponent, LinkPropsKeys } from '../types'; import type { ComponentConfig } from '../types/tv'; type DashboardNavbar = ComponentConfig; export interface DashboardNavbarProps { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; /** * The icon displayed next to the title. * @IconComponent */ icon?: IconComponent; title?: string; /** * Customize the toggle button to open the sidebar. * `{ color: 'air-tertiary', size: 'md' }`{lang="ts-type"} * @defaultValue true */ toggle?: boolean | Omit; /** * The side to render the toggle button on. * @defaultValue 'left' */ toggleSide?: 'left' | 'right'; class?: any; b24ui?: DashboardNavbar['slots']; } type DashboardNavbarSlotsProps = Omit; export interface DashboardNavbarSlots { title?(props?: {}): VNode[]; leading?(props: DashboardNavbarSlotsProps & { b24ui: DashboardNavbar['b24ui']; }): VNode[]; trailing?(props: DashboardNavbarSlotsProps & { b24ui: DashboardNavbar['b24ui']; }): VNode[]; left?(props: DashboardNavbarSlotsProps): VNode[]; default?(props: DashboardNavbarSlotsProps): VNode[]; right?(props: DashboardNavbarSlotsProps): VNode[]; toggle?(props: DashboardNavbarSlotsProps & { b24ui: DashboardNavbar['b24ui']; }): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, { toggle: boolean | Omit; toggleSide: "left" | "right"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardNavbarSlots>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };