import type { Plugin } from 'unified'; import type { TocHeading } from './types.js'; export type AnyPlugin = Plugin; export interface RenderOptions { /** remark-phase plugins only; injected after remark-directive and before remark-rehype */ plugins?: AnyPlugin[]; } export declare function stripFrontmatter(md: string): string; export declare function renderGuideBody(markdown: string, opts?: RenderOptions): Promise<{ body: string; headings: TocHeading[]; anchors: { id: string; text: string; }[]; }>; //# sourceMappingURL=render.d.ts.map