type AppendOptions = {
    escape?: boolean;
};
declare const SAVE_PAGE: unique symbol;
export declare class Site {
    #private;
    constructor();
    createPage(path: string): Renderer;
    createEmbedPage(embedName: string): Renderer | undefined;
    createRawPage(path: string, contents: string): void;
    getPages(): Map<string, string>;
    private [SAVE_PAGE];
}
export declare class Renderer {
    #private;
    constructor({ site, currentPagePath, }: {
        site: Site;
        currentPagePath: string;
    });
    escapeText(text: string, { mdxOnly }?: {
        mdxOnly?: boolean;
    }): string;
    insertFrontMatter({ sidebarPosition, sidebarLabel, }: {
        sidebarPosition: string;
        sidebarLabel: string;
    }): void;
    appendHeading(level: number, text: string, { escape }?: AppendOptions): void;
    appendParagraph(text: string, { escape }?: AppendOptions): void;
    appendCode(text: string): void;
    appendList(items: string[], { escape }?: AppendOptions): void;
    appendRaw(text: string): void;
    beginExpandableSection(title: string, { isOpenOnLoad, escape, }: {
        isOpenOnLoad?: boolean;
    } & AppendOptions): void;
    endExpandableSection(): void;
    appendSidebarLink({ title, embedName, }: {
        title: string;
        embedName: string;
    }): void;
    appendTryItNow(props: {
        externalDependencies?: Record<string, string>;
        defaultValue?: string;
    } & Record<string, unknown>): void;
    finalize(): void;
    insertThirdPartyImport(symbol: string, importPath: string): void;
}
export {};
//# sourceMappingURL=renderer.d.ts.map