import { Settings } from '@xyd-js/core'; import { Plugin } from 'unified'; import { R as RemarkMdxTocOptions } from './mdToc-NBBxMJ4l.js'; interface DocSectionSchema { /** * Id of the page e.g. "getting-started" */ pageId: string; /** * URL of the page e.g. "/getting-started" */ pageUrl: string; /** * Title of the page e.g. "Getting Started" */ pageTitle: string; /** * Level of the heading e.g. 1, 2 */ headingLevel: number; /** * Title of the heading e.g. "Making a new project" */ headingTitle: string; /** * Summary of the page e.g. "This is the summary of the page" */ summary: string; /** * Content of the section */ content: string; } declare function mapSettingsToDocSections(xydSettings: Settings): Promise; declare function markdownPlugins(toc: RemarkMdxTocOptions, // TODO: unify this cuz it should come from core -global settings and toc options? settings?: Settings): Promise<{ remarkPlugins: Plugin[]; rehypePlugins: Plugin[]; recmaPlugins: Plugin[]; }>; export { type DocSectionSchema, RemarkMdxTocOptions, mapSettingsToDocSections, markdownPlugins };