import type { GenerateResponse } from '@sentropic/llm-mesh'; import type { GatewayWire, ProviderResponseHeaders } from './ports/dispatch.js'; import { type ResponsesLimits } from './responses-egress.js'; export interface CanonicalGatewayResponse { readonly status: number; readonly body: unknown; readonly headers?: ProviderResponseHeaders; } export interface EncodeGatewayResponseOptions { readonly includeCacheUsage?: boolean; } export declare const encodeGatewayResponse: (wire: GatewayWire, response: GenerateResponse, responsesLimits?: ResponsesLimits, options?: EncodeGatewayResponseOptions) => CanonicalGatewayResponse; //# sourceMappingURL=canonical-egress.d.ts.map