import { type Item } from "./shared.js"; /** 单个 H2 段内容解析器。 */ export type DomainSectionParser = (items: Item[], sectionRaw: string) => unknown; /** 加新 H2 段名 = 调 registerDomainSectionRenderer 加一行注册 + 一个 parser 函数。 * Phase term-P9.3:删 type 参数。 */ export declare function registerDomainSectionRenderer(h2Name: string, parser: DomainSectionParser): void; /** 取 H2段名 的 parser。未注册返 undefined(调用方走 fallback)。Phase term-P9.3:删 type 参数。 */ export declare function getDomainSectionParser(h2Name: string): DomainSectionParser | undefined;