import type { VtoUpdate } from "./types";
type VtoUpdateCallback = (update: VtoUpdate) => void;
export declare class SseClient {
    private eventSource;
    private streamUrl;
    private listeners;
    private reconnectTimer;
    private reconnectAttempts;
    private maxReconnectAttempts;
    constructor(streamUrl: string);
    connect(): void;
    private scheduleReconnect;
    onJob(jobId: string, callback: VtoUpdateCallback): () => void;
    private emit;
    disconnect(): void;
}
export {};
