/**
 * Shared SSE reader for Shortcut's local `/api/llm/stream` proxy endpoint.
 *
 * This is part of the desktop Shortcut provider path only. Cloud mode does not
 * use this reader and must not depend on the Python-backed proxy stream.
 *
 * This sits below provider/tool adapters: it only reads the wire format and
 * invokes a callback for each parsed event payload.
 */
/**
 * Read an SSE response body, parse each event block, and invoke the callback.
 * Handles chunked decoding and double-newline event splitting.
 */
export declare function readShortcutSSE(response: Response, onEvent: (event: string, payload: unknown) => void | Promise<void>): Promise<void>;
//# sourceMappingURL=shortcut-sse.d.ts.map