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