/** A section within a DHF document template */ export interface DhfSection { id: string; title: string; /** Handlebars template content or static markdown */ description?: string; /** Whether this section is required for the document to be considered complete */ required: boolean; } /** A registered DHF document type */ export interface DhfDocumentType { /** Short identifier, e.g. "rmp", "har", "fmea" */ id: string; /** Full document title */ title: string; /** * Id of the shipped template that carries this document's content, e.g. * "iso-14971/rmp". It is where the clause claims are written down; a * document type without one derives no standards, which is honest — it has * no document to make a claim in. */ template?: string; /** * Regulatory clause references, e.g. "IEC 62304:2006+AMD1:2015 §5.2". * DERIVED from `template`'s frontmatter — never written here. */ standards: string[]; /** Architecture layers this document draws from */ layers: string[]; /** Element kinds relevant to this document */ relevantKinds: string[]; /** Relationship types relevant to this document */ relevantRelationships: string[]; /** Default sections */ sections: DhfSection[]; /** Document group for CLI aliases */ group: 'risk' | 'design' | 'verification' | 'compliance' | 'all'; } /** * The registered document types, each with its clause references filled in * from its template. Derivation happens once, at load: the templates are * shipped content that cannot change under a running process. */ export declare const DHF_DOCUMENT_TYPES: DhfDocumentType[]; /** Get a document type by ID */ export declare function getDocumentType(id: string): DhfDocumentType | undefined; /** Get all document types in a group */ export declare function getDocumentsByGroup(group: string): DhfDocumentType[]; /** All document IDs */ export declare function getAllDocumentIds(): string[]; /** * Resolve a DHF document type through an artifact kind name from the ontology. * Falls back to built-in document types when no artifact kind mapping exists. * * @param artifactKindOrDocId - Artifact kind name (e.g. "RiskManagementPlan") or document ID (e.g. "rmp") * @returns The matching DhfDocumentType, or undefined if no match */ export declare function resolveDocumentType(artifactKindOrDocId: string): DhfDocumentType | undefined; //# sourceMappingURL=document-registry.d.ts.map