import type { Api, AssistantMessageEventStream as AssistantMessageEventStreamType, Context, Model, SimpleStreamOptions } from "../types"; /** * Stream a turn through an `omp auth-gateway` over the pi-native protocol. * * The returned {@link AssistantMessageEventStream} receives each parsed * `AssistantMessageEvent` verbatim from the gateway; the terminal `done` / * `error` event resolves `.result()` automatically via the base class's * completion check. Non-streaming consumers just call `.result()` and pay * for SSE framing they don't use — that overhead is dominated by provider * latency, so we always stream rather than maintaining a parallel * non-streaming path. */ export declare function streamPiNative(model: Model, context: Context, options?: SimpleStreamOptions): AssistantMessageEventStreamType;