/**
 * One-command local agent workflow demo — agents, projects, tasks, and runs.
 * Fully local; uses in-memory or temp SQLite. No hosted dependencies.
 */
import type { Database } from "bun:sqlite";
export declare const AGENT_WORKFLOW_DEMO_SCHEMA = "todos.agent_workflow_demo.v1";
export declare const DEMO_DEFAULT_AGENT = "demoagent";
export declare const DEMO_DEFAULT_PROJECT = "Agent Workflow Demo";
export declare const DEMO_PROJECT_PATH = "/tmp/todos-agent-workflow-demo";
export interface DemoStep {
    step: number;
    action: string;
    detail: string;
    status: "ok" | "skipped";
}
export interface AgentWorkflowDemoResult {
    schema_version: typeof AGENT_WORKFLOW_DEMO_SCHEMA;
    ephemeral: boolean;
    db_path: string;
    agent: {
        id: string;
        name: string;
    };
    project: {
        id: string;
        name: string;
        path: string;
        task_prefix: string | null;
    };
    task_list: {
        id: string;
        slug: string;
        name: string;
    };
    tasks: Array<{
        id: string;
        short_id: string | null;
        title: string;
        status: string;
    }>;
    agent_run: {
        id: string;
        status: string;
        task_id: string | null;
        adapter: string;
    };
    run_record: {
        id: string;
        status: string;
        objective: string | null;
    };
    status_summary: {
        pending: number;
        in_progress: number;
        completed: number;
        total: number;
    };
    steps: DemoStep[];
    completed_at: string;
    message: string;
}
export interface RunAgentWorkflowDemoOptions {
    db?: Database;
    ephemeral?: boolean;
    persist?: boolean;
    db_path?: string;
    agent_name?: string;
    project_name?: string;
    project_path?: string;
    exported_at?: string;
}
export interface EphemeralDbHandle {
    db_path: string;
    restore: () => void;
}
export declare function setupEphemeralDemoDb(options?: {
    persist?: boolean;
    db_path?: string;
}): EphemeralDbHandle;
export declare function runAgentWorkflowDemo(options?: RunAgentWorkflowDemoOptions): AgentWorkflowDemoResult;
export declare function sanitizeDemoVolatileIds(text: string): string;
export declare function normalizeAgentWorkflowDemoResult(result: AgentWorkflowDemoResult, exportedAt?: string): Record<string, unknown>;
export declare function formatAgentWorkflowDemoReport(result: AgentWorkflowDemoResult, exportedAt?: string, options?: {
    deterministic?: boolean;
}): string;
export declare function getAgentWorkflowDemoDocs(): string;
//# sourceMappingURL=agent-workflow-demo.d.ts.map