import type { Context } from '../../context'; import type { StreamingApi } from '../../utils/stream'; export declare const streamText: (c: Context, cb: (stream: StreamingApi) => Promise, onError?: (e: Error, stream: StreamingApi) => Promise) => Response;