import type { CsvElement, CsvRelationship } from './csv-io.js'; export declare function generateUsage(element: CsvElement): string; /** * Generate a SysML connection usage for a relationship. * * Example output: * ```sysml * connection : Mitigates connect control ::> risk_control_001 to hazard ::> hazard_001; * ``` */ export declare function generateConnection(rel: CsvRelationship): string; /** * Generate a complete .sysml file from elements and relationships. * * @param elements - Parsed elements from CSV * @param relationships - Parsed relationships from CSV * @param packageName - SysML package name (e.g. "imported_elements") */ /** * Wrap already-indented inner package-body lines in `package` declarations. * * Standard SysML v2 requires single-identifier names in a package DECLARATION, so a * qualified name (`a::b::c`) is emitted as NESTED packages, never `package a::b::c {`. * The inner lines are assumed to already carry one indentation level (as the existing * generators produce them); deeper nesting adds the extra levels. For a single-segment * name this is byte-identical to the previous `package name { … }` output. */ export declare function wrapPackage(qualifiedName: string, innerLines: string[], opts?: { isLibrary?: boolean; }): string[]; export declare function generateFile(elements: CsvElement[], relationships: CsvRelationship[], packageName: string): string; //# sourceMappingURL=sysml-generator.d.ts.map