import type { AgentTerminalRecentEvent } from "../agentDiagnostics";
interface AgentRunSocketMessage {
    timestamp: string;
    direction?: AgentTerminalRecentEvent["direction"];
    type: string;
    seq?: number | null;
    detail?: string | null;
    payload?: any;
    rawMessage?: string | null;
    payloadBytes?: number | null;
}
export interface AgentRunDiagnosticsSummary {
    events: AgentTerminalRecentEvent[];
    totalCount: number;
    receivedSeqs: number[];
    missingSeqs: number[];
}
export declare function useAgentRunDiagnostics(input: {
    agentId: string | undefined;
    webSocketMessages?: AgentRunSocketMessage[] | null;
}): AgentRunDiagnosticsSummary;
export {};
