import type React from "react";
import type { AgentMetadata } from "../../services/agentService";
import { isBrowserCaptureDialogType } from "./useAgentBrowserCapture";
export { isBrowserCaptureDialogType };
export declare function useAgentBrowserCapturePanel(input: {
    agentId?: string;
    agentStatus?: string;
    sessionId?: string;
    metadata: AgentMetadata | null;
    setMetadata: React.Dispatch<React.SetStateAction<AgentMetadata | null>>;
    setMutationPending: (pending: boolean) => void;
    sanitizeMetadata: (metadata: AgentMetadata | null) => AgentMetadata | null;
    terminalInstanceIdRef: React.RefObject<string>;
    showErrorToast?: (error: unknown) => void;
    mutationPending: boolean;
}): {
    fixedBrowserClaimBanner: React.ReactNode;
    inlineBrowserClaimBanner: React.ReactNode;
    browserCaptureInlinePrompt?: import("./components/AgentTerminalMessageGroups").AgentTerminalMessageGroupsProps["browserCaptureInlinePrompt"];
    pendingCallbackId: string | null;
    isPendingBrowserCaptureWait: boolean;
    isClaimedByCurrentSession: boolean;
    isClaimedByAnotherBrowser: boolean;
    setPendingBrowserCaptureWait: (dialogType: string | null, callbackId: string | null) => void;
    clearPendingBrowserCaptureWait: () => void;
    claimBrowser: (takeOver: boolean) => Promise<void>;
    releaseBrowser: () => Promise<void>;
    cancelBrowserCapture: () => Promise<void>;
};
