import { type ReactNode } from 'react'; import { type InvokeMessage, type RemoteTransport, type ServerMessage } from './transport.js'; import type { RemoteContract, RemoteViewSet } from './client.js'; export declare const useRemoteUI: (transport: RemoteTransport, views: RemoteViewSet) => ReactNode; export interface RemoteUIProps { readonly transport: RemoteTransport; readonly views: RemoteViewSet; } export declare const RemoteUI: ({ transport, views, }: RemoteUIProps) => ReactNode; export interface StatusReporter { readonly status: () => S; readonly onStatusChange: (listener: () => void) => () => void; } export declare const useConnectionStatus: (reporter: StatusReporter) => S; //# sourceMappingURL=react.d.ts.map