import type { VNode } from 'vue'; import type { ContentNavigationItem } from '@nuxt/content'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/content/content-surround'; import type { IconComponent } from '../../types'; import type { ComponentConfig } from '../../types/tv'; type ContentSurround = ComponentConfig; export interface ContentSurroundLink extends ContentNavigationItem { description?: string; /** * @IconComponent */ icon?: IconComponent; class?: any; b24ui?: Pick; } export interface ContentSurroundProps { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; /** * The icon displayed in the prev link. * @defaultValue icons.arrowLeft * @IconComponent */ prevIcon?: IconComponent; /** * The icon displayed in the next link. * @defaultValue icons.arrowRight * @IconComponent */ nextIcon?: IconComponent; surround?: T[]; class?: any; b24ui?: ContentSurround['slots']; } type SlotProps = (props: { link: T; b24ui: ContentSurround['b24ui']; }) => VNode[]; export interface ContentSurroundSlots { 'link'?: SlotProps; 'link-leading'?: SlotProps; 'link-title'?: SlotProps; 'link-description'?: SlotProps; } 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: ContentSurroundSlots; 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]; }) & {};