import type { Run, Result, Scenario } from "../types/index.js";
/**
 * Auto-create a todo task for each failed scenario in a run.
 * Uses the todos DB directly (like todos-connector.ts does).
 * No-op if TODOS_DB_PATH is not set and ~/.todos/todos.db does not exist.
 * Controlled by TESTERS_TODOS_PROJECT_ID env var (which project to create tasks in).
 */
export declare function createFailureTasks(run: Run, failedResults: Result[], scenarios: Scenario[]): Promise<{
    created: number;
    skipped: number;
}>;
/**
 * Post a failure notification to a conversations space.
 * Controlled by:
 *   TESTERS_CONVERSATIONS_URL  — base URL of the conversations service
 *   TESTERS_CONVERSATIONS_SPACE — space name/slug to post to
 * No-op if either env var is missing.
 */
export declare function notifyFailureToConversations(run: Run, failedResults: Result[], scenarios: Scenario[]): Promise<void>;
/**
 * Post a run completion summary to a conversations space.
 * Called for ALL run completions (passed and failed).
 * Controlled by:
 *   TESTERS_CONVERSATIONS_URL   — base URL of the conversations service
 *   TESTERS_CONVERSATIONS_SPACE — space name/slug to post to
 * No-op if either env var is missing.
 */
export declare function notifyRunToConversations(run: Run, results: Result[], options?: {
    spaceId?: string;
}): Promise<void>;
//# sourceMappingURL=failure-pipeline.d.ts.map