import { type InitialStateResponse } from '@/api/sse'; export type StreamSubscription = { type: string; params: Record; }; type StreamMessageHandler = (data: T) => void | Promise; export declare function useSseClient(): { clientId: string; subscribe: (subscription: StreamSubscription, handler: StreamMessageHandler) => { unsubscribe: () => void; initialState: Promise; }; }; export {};