import type { IrNode } from '../ir.js'; import type { BlockRegistry } from '../registry/block-module.js'; import { element, nodeAttributes } from './block-helpers.js'; import type { RenderContext } from './render-context.js'; export type { RenderContext } from './render-context.js'; /** Fragment id of a section, shared by the section renderer and the page outline. */ export declare function sectionAnchor(nodeId: string): string; /** * Render one node: a block module's renderer first, then the core renderer, * falling back to an empty string for an unregistered type. */ export declare function renderNode(node: IrNode, context: RenderContext): string; /** True when a renderer exists for the type. */ export declare function hasRenderer(type: string, registry?: BlockRegistry): boolean; export { element, nodeAttributes }; //# sourceMappingURL=blocks.d.ts.map