import type { RunStore } from "../run-state/index.js";
import type { SeedTeamMember, SeedTeamRuntime } from "./types.js";
export type SeedTeamMemberMemoryCheckpoint = {
    checkpoint_id: string;
    created_at: string;
    session_id: string;
    summary: string;
    semantic_summary: string;
    known_outputs: string[];
    open_questions: string[];
    next_local_actions: string[];
    helper_refs: string[];
    last_result_refs: string[];
    unread_message_count: number;
    open_task_ids: string[];
    role_contract: {
        role_id: string;
        role_label: string;
        status: string;
        capability_profile?: string;
        write_surface?: string;
        read_paths: string[];
        write_paths: string[];
        stop_condition?: string;
    };
};
export type SeedTeamMemberMemory = {
    version: 1;
    run_id: string;
    member: string;
    updated_at: string;
    checkpoints: SeedTeamMemberMemoryCheckpoint[];
};
export declare function memberMemoryPath(store: RunStore, runId: string, memberName: string): string;
export declare function loadMemberMemory(store: RunStore, runId: string, memberName: string): Promise<SeedTeamMemberMemory | undefined>;
export declare function writeMemberMemoryCheckpoint(store: RunStore, runId: string, runtime: SeedTeamRuntime, member: SeedTeamMember, input: {
    sessionId: string;
    reason: "session_compacting" | "manual" | "resume";
}): Promise<SeedTeamMemberMemory>;
export declare function renderMemberMemoryContext(memory: SeedTeamMemberMemory | undefined): string | undefined;
