import type { GraphTypeRef, ModuleNode } from '../graph/graph-types.js'; export declare function renderBanner(sourceFile: string): string[]; export declare function formatTypeRef(ref: GraphTypeRef): string; export declare function renderTable(headers: string[], rows: string[][]): string[]; export declare function humanize(snakeName: string): string; export declare function toAnchor(heading: string): string; export declare function section(title: string, level?: number): string[]; /** * Safely extract a typed array property from a module node. * Returns empty array if the property is missing or not an array. */ export declare function getArrayProp(mod: ModuleNode, key: string): T[]; /** * Extract the last segment of a dot-separated identifier. * e.g. `"board.board_strings.title"` → `"title"` */ export declare function shortName(id: string): string; //# sourceMappingURL=format-helpers.d.ts.map