/**
 * Merge all YAML graphs for an app_id into a single YAML document.
 * HotMesh supports multiple graphs in one app definition under `app.graphs[]`.
 */
export declare function buildMergedYaml(appId: string, version: string): Promise<string>;
/**
 * Re-run the compilation pipeline for the most recently compiled workflow
 * in the app, feeding the deployment error as context so the LLM can
 * produce a plan that avoids the same issue.
 *
 * Returns true if recompilation succeeded and the DB was updated, false otherwise.
 */
export declare function recompileWithContext(appId: string, failedYaml: string, errorMessage: string): Promise<boolean>;
