import { type AgentNativeFrameProps } from "./AgentNativeFrame.js"; import { type AgentNativeClientActions, type AgentNativeHostCommandHandlers, type AgentNativeHostContextGetter, type AgentNativeScreenSnapshotOptions } from "./host-bridge.js"; export interface AgentNativeCommandCallbackInfo { command: string; requestId?: string; origin: string; } export type AgentNativeCommandCallback = (payload: unknown, info: AgentNativeCommandCallbackInfo) => unknown; export interface AgentNativeProps extends Omit { actions?: AgentNativeClientActions; getContext?: AgentNativeHostContextGetter; screen?: boolean | AgentNativeScreenSnapshotOptions; commands?: AgentNativeHostCommandHandlers; onRefresh?: AgentNativeCommandCallback; onNavigate?: AgentNativeCommandCallback; onRemount?: AgentNativeCommandCallback; onOpenResource?: AgentNativeCommandCallback; onRequestApproval?: AgentNativeCommandCallback; } export declare function useAgentNativeScreenContext(options?: AgentNativeScreenSnapshotOptions): AgentNativeHostContextGetter; export declare function AgentNative({ actions, getContext, screen, commands, onRefresh, onNavigate, onRemount, onOpenResource, onRequestApproval, ...frameProps }: AgentNativeProps): import("react").JSX.Element;