import type { AgentCall, SeedEvent, ToolCall } from "../run-state/types.js";
import type { RunStore } from "../run-state/store.js";
export type SeedActivityJournalStatus = {
    enabled: boolean;
    interval_minutes: number;
    root_path: string;
    index_path: string;
    latest_path: string;
    latest_json_path: string;
    current_window_path: string;
    current_window_json_path: string;
    current_raw_window_path: string;
    current_window_label: string;
    current_window_start: string;
    current_window_end: string;
};
export type RepresentativeBriefing = {
    version: 1;
    run_id: string;
    generated_at: string;
    window: {
        label: string;
        start: string;
        end: string;
        interval_minutes: number;
    };
    status: string;
    current_phase: string;
    professor_goal: string;
    latest_safe_observation: string;
    active_roles: string[];
    blockers: string[];
    next_action: string;
    counts: {
        events: number;
        agent_calls: number;
        model_calls: number;
        tool_calls: number;
        tasks_by_status: Record<string, number>;
        team_members_by_status: Record<string, number>;
        team_tasks_by_status: Record<string, number>;
        background_tasks_by_status: Record<string, number>;
        subplans_by_status: Record<string, number>;
        active_workspace_leases: number;
        open_workspace_conflicts: number;
        document_artifacts: number;
    };
    budget: {
        status: "ok" | "warning" | "blocked";
        warnings: string[];
        blocking_reason?: string;
        model_calls: string;
        child_sessions: string;
    };
    stale_backgrounds: string[];
    verifier_verdicts: string[];
    observations: string[];
    artifacts: {
        progress_path: string;
        evidence_path: string;
        final_report_path: string;
        raw_window_path: string;
        prompt_refs: string[];
        document_artifact_refs: string[];
        workspace_refs: string[];
        trace_streams: string[];
    };
    safety: {
        redaction_count: number;
        reasoning_parts_recorded: false;
        note: string;
    };
};
export type SeedActivityJournalEntry = {
    kind: "event";
    event: SeedEvent;
} | {
    kind: "agent_call";
    agent_call: AgentCall;
} | {
    kind: "tool_call";
    tool_call: ToolCall;
};
export declare function activityJournalStatus(store: RunStore, runId: string, timestamp?: string): SeedActivityJournalStatus;
export declare function appendActivityJournalEntry(store: RunStore, runId: string, entry: SeedActivityJournalEntry): Promise<SeedActivityJournalStatus | undefined>;
