/** * Workflow Registry - Central registry for pre-defined agent workflows * * @module agents/workflows */ import type { Workflow } from "../orchestrator.js"; /** * Map of all registered workflows. * Key is the workflow name, value is the workflow definition. */ export declare const workflows: Map; /** * Retrieves a workflow by name. * * @param name - The name of the workflow to retrieve * @returns The workflow definition, or undefined if not found * * @example * ```typescript * const workflow = getWorkflow('code-review-chain'); * if (workflow) { * const result = await orchestrator.executeWorkflow(workflow, input); * } * ``` */ export declare function getWorkflow(name: string): Workflow | undefined; /** * Lists all registered workflow names. * * @returns Array of workflow names * * @example * ```typescript * const names = listWorkflows(); * console.log('Available workflows:', names); * // Output: ['code-review-chain', 'design-to-spec'] * ``` */ export declare function listWorkflows(): string[]; export { codeReviewChainWorkflow } from "./code-review-chain.js"; export { designToSpecWorkflow } from "./design-to-spec.js"; //# sourceMappingURL=index.d.ts.map