import type { PageMetadata } from "@speakeasy-api/docs-md-shared";
import type { SiteBuildPagePathArgs } from "../renderers/base.ts";
export type PageFrontMatter = {
    sidebarPosition: string;
    sidebarLabel: string;
};
type BaseFrameworkConfig = {
    rendererType: string;
    buildPagePath: (...args: SiteBuildPagePathArgs) => string;
    buildPagePreamble: (frontMatter: PageFrontMatter | undefined) => string;
    postProcess?: (pageMetadata: PageMetadata[]) => void;
    formatHeadingId?: (id: string) => string;
    elementIdSeparator?: string;
};
type MDXFrameworkConfig = BaseFrameworkConfig & {
    rendererType: "mdx";
    componentPackageName: string;
};
type MarkdownFrameworkConfig = BaseFrameworkConfig & {
    rendererType: "markdown";
};
export type FrameworkConfig = MDXFrameworkConfig | MarkdownFrameworkConfig;
export {};
//# sourceMappingURL=FrameworkConfig.d.ts.map