import type { ParsedProcedure } from "@aeolun/trpc-router-parser"; export interface SubscriptionData { data: TData; receivedAt: number; elapsedMs: number; } interface SubscriptionHandlerProps { procedure: ParsedProcedure; inputData: TInput; isEnabled: boolean; onData: (data: SubscriptionData) => void; onError: (error: Error) => void; onComplete: () => void; } export declare function SSEWarning(): import("react/jsx-runtime").JSX.Element | null; export declare function WebSocketWarning(): import("react/jsx-runtime").JSX.Element | null; export declare function SubscriptionHandler({ procedure, inputData, isEnabled, onData, onError, onComplete, }: SubscriptionHandlerProps): null; export {};