import type { Database } from "bun:sqlite";
export interface CreateBranchWorkPlanInput {
    task_id?: string;
    plan_id?: string;
    branch: string;
    base_branch?: string;
    paths?: string[];
    root?: string;
    agent_id?: string;
    include_git_status?: boolean;
}
export interface BranchWorkPlanConflict {
    path: string;
    conflicting_task_id: string;
    conflicting_task_short_id: string | null;
    conflicting_task_title: string;
    conflicting_task_status: string;
    conflicting_agent_id: string | null;
    locked_by: string | null;
    level: "hard" | "advisory";
}
export interface BranchWorkPlanGitStatus {
    has_git: boolean;
    current_branch: string | null;
    branch_exists: boolean;
    dirty_files: string[];
}
export interface BranchWorkPlan {
    schema_version: 1;
    local_only: true;
    generated_at: string;
    branch: string;
    base_branch: string;
    root: string;
    task_id: string | null;
    plan_id: string | null;
    task_ids: string[];
    files: string[];
    conflicts: BranchWorkPlanConflict[];
    git_status: BranchWorkPlanGitStatus;
    safe_to_start: boolean;
    reasons: string[];
    commands: string[];
}
export declare function createBranchWorkPlan(input: CreateBranchWorkPlanInput, db?: Database): BranchWorkPlan;
//# sourceMappingURL=branch-work-plans.d.ts.map