import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/page-links'; import type { IconComponent, LinkProps } from '../types'; import type { ComponentConfig } from '../types/tv'; type PageLinks = ComponentConfig; export interface PageLink extends Omit { label: string; /** * @IconComponent */ icon?: IconComponent; class?: any; b24ui?: Pick; } export interface PageLinksProps { /** * The element or component this component should render as. * @defaultValue 'nav' */ as?: any; title?: string; links?: T[]; class?: any; b24ui?: PageLinks['slots']; } type SlotProps = (props: { link: T; active: boolean; b24ui: PageLinks['b24ui']; }) => VNode[]; export interface PageLinksSlots { 'title'?(props?: {}): VNode[]; 'link'?: SlotProps; 'link-leading'?: SlotProps; 'link-label'?(props: { link: T; active: boolean; }): VNode[]; 'link-trailing'?(props: { link: T; active: boolean; }): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: PageLinksSlots; emit: {}; }>) => import("vue").VNode & { __ctx?: Awaited; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};