import { ReactNode } from 'react'; export interface TerminalIframeProps { /** Session id — used as resourceId for the capability mint. */ sessionId: string; /** Agent id owning this session — required for the mint mutation. */ agentId: string | null | undefined; /** * Agent profile this session runs against. Persisted as * Session.profile at create-time (default: "default"). Threaded * into mintAgentCapability so the svc proxies the iframe-token * mint to /api/profiles//agent/iframe-token instead of * defaulting unconditionally — required when an operator runs * multiple profiles on one agent and the session targets one. */ profile?: string | null; /** Bare ttyd tunnel URL from `session.ttydUrl`. Hook strips any legacy ?apiKey=. */ baseTtydUrl: string | null | undefined; /** Title for accessibility. */ title: string; /** Optional className for the iframe. */ className?: string; /** Permissions-Policy allow attribute (clipboard). */ allow?: string; /** Called on iframe load. Use to flip connection status to connected. */ onLoad?: () => void; /** Called on iframe error. We re-mint internally + bubble the event. */ onError?: () => void; /** Slot for fallback content when no URL is available yet. */ fallback?: ReactNode; } export declare const TerminalIframe: import('react').ForwardRefExoticComponent>;