import { type RunStore } from "../run-state/index.js";
import type { SeedWorkspaceLease } from "../workspace-state/types.js";
import type { SeedSubplan, SeedSubplanStatus, SeedSubplanWorkspaceConflictPolicy, SeedSubplanWorkspaceStrategy } from "./types.js";
export declare function subplansPath(store: RunStore, runId: string): string;
export declare function listSubplans(store: RunStore, runId: string): Promise<SeedSubplan[]>;
export declare function createSubplan(store: RunStore, runId: string, input: {
    title: string;
    objective: string;
    owner_member?: string;
    verifier_member?: string;
    required_for_final?: boolean;
    read_paths?: string[];
    write_paths?: string[];
    workspace_strategy?: SeedSubplanWorkspaceStrategy;
    workspace_conflict_policy?: SeedSubplanWorkspaceConflictPolicy;
    worktree_path?: string;
    merge_owner_member?: string;
    evidence_refs?: string[];
    actor?: string;
    sessionId?: string;
}): Promise<SeedSubplan>;
export declare function transitionSubplan(store: RunStore, runId: string, subplanId: string, input: {
    to: SeedSubplanStatus;
    summary?: string;
    evidence_refs?: string[];
    actor?: string;
    sessionId?: string;
    active_workspace_leases?: SeedWorkspaceLease[];
}): Promise<SeedSubplan>;
export declare function verifySubplan(store: RunStore, runId: string, subplanId: string, input: {
    verdict: "accepted" | "rework" | "blocked";
    summary: string;
    evidence_refs?: string[];
    actor?: string;
    sessionId?: string;
}): Promise<SeedSubplan>;
export declare function requiredSubplansBlockingFinal(store: RunStore, runId: string): Promise<SeedSubplan[]>;
export declare function bindSubplanWorkspaceLease(store: RunStore, runId: string, subplanId: string, leaseId: string, input?: {
    actor?: string;
    sessionId?: string;
}): Promise<SeedSubplan>;
export declare function attachSubplanDiffRef(store: RunStore, runId: string, subplanId: string, diffRef: string, input?: {
    actor?: string;
    sessionId?: string;
}): Promise<SeedSubplan>;
