import { displayWidth } from "./asciiBlocks.js"; import { type DiagramNode } from "./nodeDiagram.js"; /** * Display names from the integration catalog. A graph stores wire slugs * (`apolloio`, `enrichPerson`); the reader knows the product by its name. * Optional throughout, so a graph diagrammed offline still renders. */ export type NameBook = { /** integration slug → product name, e.g. `apolloio` → `Apollo.io`. */ integrations?: Record; /** integration slug → action slug → action name. */ actions?: Record>; /** native action slug → action name, e.g. `script` → `JavaScript`. */ native?: Record; }; export type AsciiOptions = { title?: string; /** Catalog names, so steps read as products rather than as slugs. */ names?: NameBook; /** Node slugs or uuids that bill credits — marked with 💳. */ paid?: string[]; /** Node slugs or uuids to mark, e.g. the failing node in a trace. */ highlight?: string[]; }; export { displayWidth }; export type AsciiResult = { diagram: string; format: "ascii"; warnings: string[]; }; export declare function renderNodeAscii(nodes: DiagramNode[], options?: AsciiOptions): AsciiResult; //# sourceMappingURL=nodeDiagramAscii.d.ts.map