import type { CapabilityRequirement, ExecutionFeature, GenerateRequest } from '@sentropic/llm-mesh'; import type { GatewayWire } from './ports/dispatch.js'; import { type ResponsesLimits } from './responses-egress.js'; export interface CanonicalIngressResult { readonly request: GenerateRequest; readonly requiredCapabilities: readonly CapabilityRequirement[]; /** * Finer-than-capability execution requirements (spec ยง16.3), set by the * Responses codec from validated input and, for the Messages/Chat wires, * derived from the normalized tool controls (named choice, explicit * parallel control). The canonical entry points forward them into * plan/quote input. */ readonly requiredExecutionFeatures?: readonly ExecutionFeature[]; } /** Cache-control markers extracted using `providerOptions.ingressBody` indices. */ export interface IngressCacheControlMap { readonly topLevel?: unknown; readonly system?: readonly { readonly index: number; readonly cache_control: unknown; }[]; readonly tools?: readonly { readonly index: number; readonly cache_control: unknown; }[]; readonly messages?: readonly { readonly messageIndex: number; readonly blockIndex: number; readonly subBlockIndex?: number; readonly cache_control: unknown; }[]; } export declare const normalizeGatewayIngress: (wire: GatewayWire, body: unknown, responsesLimits?: ResponsesLimits) => CanonicalIngressResult; //# sourceMappingURL=canonical-ingress.d.ts.map