import { type MutableRefObject } from "react";
import type { AgentSessionActions } from "./useAgentSession";
export declare function useAgentRunSequenceGuard(input: {
    lastSeqRef: MutableRefObject<number>;
    actions: AgentSessionActions;
    appendToolUiEvent: (type: string, details?: string, seq?: number | null) => void;
}): (frame: {
    eventName: "agent:run:delta" | "agent:run:status";
    runId: string | undefined;
    seq: number | undefined;
}) => boolean;
