studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
19 lines (18 loc) • 501 B
TypeScript
type LinkProps = {
text: string;
href: string;
};
/**
* Generate the frontend navigation links
*
* @param basePackage The package to search for the pages (default: 'studiocms/markdown')
* @returns The frontend navigation links
* @example
* ```ts
* import { frontendNavigation } from 'studiocms:lib/plugins/frontend-navigation';
*
* const links = await frontendNavigation();
* ```
*/
export declare function frontendNavigation(basePackage?: string): Promise<LinkProps[]>;
export {};