import { type MutableRefObject } from "react";
export declare function useAgentLoadedRunStateSync(input: {
    isStoppingRef: MutableRefObject<boolean>;
    isWaitingRef: MutableRefObject<boolean>;
    setIsWaitingForResponse: (isWaiting: boolean) => void;
    setIsConnecting: (isConnecting: boolean) => void;
    setIsAgentThinking: (isThinking: boolean) => void;
}): (status: {
    isRunning: boolean;
    waitingForApproval: boolean;
    waitingForInput: boolean;
    hasStreaming: boolean;
}) => void;
