import { type OpenCodeModelCallContext } from "../model-call/index.js";
import { type RunStore } from "../run-state/index.js";
export type SeedAgentMessageDeliveryMode = "live_prompt_async" | "mailbox_only" | "failed" | "skipped";
export type SeedAgentMessageDeliveryOutcome = {
    message_id: string;
    from: string;
    to: string;
    mode: SeedAgentMessageDeliveryMode;
    session_id?: string;
    prompt_ref?: string;
    tool_manifest_ref?: string;
    error?: string;
};
export type DeliverQueuedMessagesResult = {
    delivered: number;
    mailbox_only: number;
    failed: number;
    skipped: number;
    messages: SeedAgentMessageDeliveryOutcome[];
};
export declare function deliverQueuedAgentMessages(store: RunStore, runId: string, ctx: OpenCodeModelCallContext, input?: {
    parentSessionId?: string;
    maxDeliveries?: number;
    now?: string;
    messageIds?: string[];
}): Promise<DeliverQueuedMessagesResult>;
