UNPKG

@nuxt/ui-pro

Version:

Ship beautiful web applications at the speed of light with Nuxt UI Pro.

16 lines (15 loc) 892 B
import type { ContentNavigationItem, ContentCollectionItem } from '@nuxt/content'; type MapContentNavigationItemOptions = { labelAttribute?: string; }; export declare function mapContentNavigationItem(item: ContentNavigationItem, options?: MapContentNavigationItemOptions): Omit<ContentNavigationItem, "title" | "path"> & { label?: string; to?: string; }; export declare function mapContentNavigation(navigation: ContentNavigationItem[], options?: MapContentNavigationItemOptions): (Omit<ContentNavigationItem, "title" | "path"> & { label?: string; to?: string; })[]; export declare function findPageHeadline(navigation?: ContentNavigationItem[], page?: ContentCollectionItem | null): string | undefined; export declare function findPageBreadcrumb(navigation?: ContentNavigationItem[], page?: ContentCollectionItem | undefined | null): ContentNavigationItem[]; export {};