import type { Observable } from 'rxjs'; import type { RuntimeUpdateAdapterOptions, RuntimeUpdateEvent, RuntimeUpdateSource } from './types'; export type RuntimeUpdateHandler = (event: RuntimeUpdateEvent, source: RuntimeUpdateSource) => void; export declare class RuntimeUpdateAdapter { private readonly handler; private eventSource?; private streamSubscription?; constructor(handler: RuntimeUpdateHandler); connectSse(url: string, options: RuntimeUpdateAdapterOptions): void; connectStream(stream: Observable): void; disconnect(): void; private disconnectSse; private disconnectStream; private parseMessage; }