export declare function useAgentStreamWatchdog(input: {
    currentAgentId: string | undefined;
    sessionId: string | undefined;
    socketConnectionVersion: unknown;
    effectiveIsVisible: boolean;
    isExecuting: boolean;
    isStopGuardActive: boolean;
    isAgentThinking: boolean;
    isSubmitting: boolean;
    isConnecting: boolean;
    isWaitingForResponse: boolean;
    hasActiveStreaming: boolean;
    lastRunStatusReason: string | null | undefined;
    isStoppingRef: {
        current: boolean;
    };
    lastNonHeartbeatUpdateAtRef: {
        current: number;
    };
    lastStallReloadAtRef: {
        current: number;
    };
    lastSeqRef: {
        current: number;
    };
    currentRunIdRef: {
        current: string | null;
    };
    seenMessageIdsRef: {
        current: {
            clear: () => void;
        };
    };
    appendToolUiEvent: (eventType: string, detail?: string) => void;
    loadAgent: () => Promise<void>;
    normalizeRunId: (value: unknown) => string | null;
    settleCompletedRun: (finalStatus?: "completed" | "cancelled", runId?: string | null) => void;
}): void;
