export interface ScratchpadEntry {
    key: string;
    value: string;
    created_at: string;
    updated_at: string;
}
export interface AnalysisPlan {
    id: string;
    title: string;
    steps: AnalysisStep[];
    status: "pending" | "in_progress" | "completed" | "failed";
    scratchpad_dir: string;
    created_at: string;
    completed_at?: string;
}
export interface AnalysisStep {
    id: string;
    description: string;
    tool: string;
    args: Record<string, unknown>;
    status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
    result_key?: string;
    depends_on?: string[];
    error?: string;
}
/**
 * Create a new analysis plan with a scratchpad directory.
 */
export declare function createAnalysisPlan(title: string, steps: Array<{
    description: string;
    tool: string;
    args: Record<string, unknown>;
    result_key?: string;
    depends_on?: string[];
}>): Promise<AnalysisPlan>;
/**
 * Write a key-value entry to the plan's scratchpad.
 * Scratchpad entries are persisted as individual files.
 */
export declare function writeScratchpad(planId: string, key: string, value: string): Promise<ScratchpadEntry>;
/**
 * Read a key from the plan's scratchpad.
 */
export declare function readScratchpad(planId: string, key: string): Promise<ScratchpadEntry | null>;
/**
 * List all entries in the plan's scratchpad.
 */
export declare function listScratchpad(planId: string): Promise<{
    entries: Array<{
        key: string;
        size: number;
        updated_at: string;
    }>;
}>;
/**
 * Update a step's status in the plan.
 */
export declare function updateStepStatus(planId: string, stepId: string, status: AnalysisStep["status"], error?: string): Promise<AnalysisPlan>;
/**
 * Get the current state of a plan.
 */
export declare function getPlan(planId: string): AnalysisPlan | null;
/**
 * List all active plans.
 */
export declare function listPlans(): Array<{
    id: string;
    title: string;
    status: string;
    steps_completed: number;
    steps_total: number;
}>;
//# sourceMappingURL=coordinator-tools.d.ts.map