export type SeedWorkspaceLeaseMode = "read" | "write" | "append";
export type SeedWorkspaceLeaseStatus = "active" | "blocked" | "released";
export type SeedWorkspaceConflictStatus = "open" | "resolved";
export type SeedWorkspaceConflictKind = "lease_overlap" | "stale_base";
export type SeedWorkspaceDiffStatus = "recorded" | "superseded";
export type SeedWorkspaceWorktreeMergeStatus = "applied" | "rejected";
export type SeedWorkspaceIntent = {
    intent_id: string;
    run_id: string;
    actor: string;
    paths: string[];
    mode: SeedWorkspaceLeaseMode;
    reason: string;
    created_at: string;
};
export type SeedWorkspaceLease = {
    lease_id: string;
    run_id: string;
    owner: string;
    path: string;
    mode: SeedWorkspaceLeaseMode;
    status: SeedWorkspaceLeaseStatus;
    task_id?: string;
    expected_base_hash?: string;
    actual_base_hash?: string;
    conflict_id?: string;
    created_at: string;
    updated_at: string;
    expires_at?: string;
    released_at?: string;
};
export type SeedWorkspaceConflict = {
    conflict_id: string;
    run_id: string;
    kind: SeedWorkspaceConflictKind;
    status: SeedWorkspaceConflictStatus;
    path: string;
    actors: string[];
    lease_ids: string[];
    expected_base_hash?: string;
    actual_base_hash?: string;
    summary: string;
    created_at: string;
    resolved_at?: string;
    resolution?: string;
    resolution_evidence_refs?: string[];
    meeting_id?: string;
};
export type SeedWorkspaceDiffRef = {
    diff_id: string;
    diff_ref: string;
    run_id: string;
    status: SeedWorkspaceDiffStatus;
    owner: string;
    subplan_id?: string;
    paths: string[];
    lease_ids: string[];
    summary: string;
    evidence_refs: string[];
    created_at: string;
};
export type SeedWorkspaceWorktreeMerge = {
    merge_id: string;
    merge_ref: string;
    run_id: string;
    status: SeedWorkspaceWorktreeMergeStatus;
    actor: string;
    merge_owner: string;
    subplan_id?: string;
    worktree_path: string;
    target_paths: string[];
    worktree_diff_ref: string;
    main_diff_ref?: string;
    lease_ids: string[];
    rejected_paths: string[];
    summary: string;
    evidence_refs: string[];
    created_at: string;
};
