export declare const SEED_CONTEXT_BUNDLE_SCHEMA_VERSION: 1;
export declare const SEED_CONTEXT_METRIC_SCHEMA_VERSION: 1;
export type SeedContextCategory = "stable" | "warm" | "hot" | "heavy" | "memory";
export type SeedContextScope = "run" | "agent_thread" | "message" | "subplan" | "artifact" | "meeting";
export type SeedContextRenderMode = "inline" | "digest" | "ref";
export type SeedContextTurnKind = "root_chat" | "member_launch" | "message_delivery" | "session_compacting" | "lab_meeting_resume";
export type SeedContextBundle = {
    schema_version: typeof SEED_CONTEXT_BUNDLE_SCHEMA_VERSION;
    bundle_id: string;
    category: SeedContextCategory;
    scope: SeedContextScope;
    title: string;
    summary?: string;
    owner_agent?: string;
    owner_thread_id?: string;
    related_run_id?: string;
    related_message_id?: string;
    related_subplan_id?: string;
    related_artifact_path?: string;
    body_ref: string;
    body_sha256: string;
    byte_length: number;
    char_length: number;
    digest: string;
    created_at: string;
    updated_at: string;
    metadata?: Record<string, unknown>;
};
export type SeedContextBundleInput = {
    bundle_id?: string;
    category: SeedContextCategory;
    scope: SeedContextScope;
    title: string;
    body: string;
    summary?: string;
    owner_agent?: string;
    owner_thread_id?: string;
    related_message_id?: string;
    related_subplan_id?: string;
    related_artifact_path?: string;
    metadata?: Record<string, unknown>;
};
export type SeedContextBundleFilter = {
    category?: SeedContextCategory;
    scope?: SeedContextScope;
    owner_agent?: string;
    owner_thread_id?: string;
};
export type SeedContextAttachment = {
    bundle_id: string;
    category: SeedContextCategory;
    scope: SeedContextScope;
    title: string;
    render_mode: SeedContextRenderMode;
    digest: string;
    inline_text?: string;
    body_ref: string;
    body_sha256: string;
    byte_length: number;
    char_count: number;
    reason?: string;
};
export type SeedContextInjectionPlanInput = {
    turn_kind: SeedContextTurnKind;
    run_id: string;
    actor?: string;
    target_agent?: string;
    target_thread_id?: string;
    bundle_ids?: string[];
    include_categories?: SeedContextCategory[];
    hot_text?: string;
    feedback_text?: string;
    max_inline_chars?: number;
};
export type SeedContextInjectionPlan = {
    turn_kind: SeedContextTurnKind;
    run_id: string;
    actor?: string;
    target_agent?: string;
    target_thread_id?: string;
    attachments: SeedContextAttachment[];
    inline_text: string;
    injected_chars: number;
    warnings: string[];
};
export type SeedContextMetric = {
    schema_version: typeof SEED_CONTEXT_METRIC_SCHEMA_VERSION;
    metric_id: string;
    run_id: string;
    created_at: string;
    actor?: string;
    turn_kind?: SeedContextTurnKind;
    event: "bundle_upserted" | "context_planned" | "context_rendered" | "context_warning";
    bundle_id?: string;
    category?: SeedContextCategory;
    render_mode?: SeedContextRenderMode;
    injected_chars?: number;
    duplicate_count?: number;
    summary?: string;
    metadata?: Record<string, unknown>;
};
