export { pipe as combine } from 'ts-functional-pipe'; import type { Awaitable } from "./utils/common-types.js"; import type { Context } from "./index.js"; export interface FlushedContext { /** * A promise that resolves when the entire response body has been written to the wire, * or if the stream has been closed for any other reason. * Most likely useful when combined with streaming responses. */ flushed: Promise; } export declare const flushed: () => (ax: Awaitable) => Promise;