@autobe/agent
Version:
AI backend server code generator
12 lines (11 loc) • 873 B
TypeScript
import { AutoBeAnalyze, AutoBeAnalyzeWriteModuleEvent, AutoBeAnalyzeWriteSectionEvent, AutoBeAnalyzeWriteUnitEvent } from "@autobe/interface";
/** Assemble all sections into final markdown content */
export declare const assembleContent: (moduleEvent: AutoBeAnalyzeWriteModuleEvent, unitEvents: AutoBeAnalyzeWriteUnitEvent[], sectionResults: AutoBeAnalyzeWriteSectionEvent[][]) => string;
/**
* Assemble structured module data from events.
*
* This method builds the hierarchical AutoBeAnalyze.IModule structure from the
* module, unit, and section events, preserving the three-level hierarchy that
* would otherwise be lost when assembling into flat markdown.
*/
export declare const assembleModule: (moduleEvent: AutoBeAnalyzeWriteModuleEvent, unitEvents: AutoBeAnalyzeWriteUnitEvent[], sectionResults: AutoBeAnalyzeWriteSectionEvent[][]) => AutoBeAnalyze.IModule;