import { ConnectSSEOptions } from "./types.js";

//#region src/js/sse/connect-sse.d.ts

/**
 * Connects to an SSE endpoint with automatic retries and exponential backoff
 * @param options - SSE connection options
 * @param attempt - Internal retry attempt counter
 * @returns Promise that resolves when the stream ends or retries stop
 */
declare function connectSSE<Payload = unknown>(options: ConnectSSEOptions<Payload>, attempt?: number): Promise<void>;
//#endregion
export { connectSSE };
//# sourceMappingURL=connect-sse.d.ts.map