export interface ListWorkflowsInput { spec_id?: string; /** A human name like "resend". The backend's resolve_spec_id has always * accepted these; only this client insisted on the hash. */ spec_slug?: string; } export interface WorkflowItem { id: string; name: string; description?: string; steps?: unknown[]; } export interface ScenarioItem { id: string; description: string; how_to_run: string; } export interface ListWorkflowsResponse { spec_id: string; workflows: Array<{ id: string; name: string; description: string; steps_count: number; }>; /** WHAT CAN GO WRONG, next to what can go right. * * A real Lovable agent called this four times and list_scenarios zero * times, so it never learned `email_bounced` existed — and the user had * asked for bounce-after-payment recovery by name. The failure modes were * a separate tool nothing pointed at. */ scenarios: ScenarioItem[]; } export declare const listWorkflowsTool: { readonly name: "list_workflows"; readonly description: string; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly spec_id: { readonly type: "string"; readonly description: "The spec_id returned by import_spec."; }; readonly spec_slug: { readonly type: "string"; readonly description: string; }; }; readonly additionalProperties: false; }; }; export declare function runListWorkflows(input: ListWorkflowsInput): Promise;