import type { ServerSentEvent } from "@gajae-code/utils"; import type { RawSseEvent } from "../types"; type FetchFunction = (input: string | URL | Request, init?: RequestInit) => Promise; type FetchWithPreconnect = FetchFunction & { preconnect?: typeof fetch.preconnect; }; type RawSseObserver = (event: RawSseEvent) => void; export declare function notifyRawSseEvent(observer: RawSseObserver | undefined, event: ServerSentEvent | RawSseEvent): void; export declare function wrapFetchForSseDebug(fetchImpl: FetchWithPreconnect, observer: RawSseObserver | undefined): FetchWithPreconnect; export {};