import type { GenerateRequest } from '@sentropic/llm-mesh'; import type { GatewayWire } from '../ports/dispatch.js'; import { captureProtectedIdentityHeaders, type ProtectedIdentityHeadersSnapshot } from './protected-identification-core.js'; export { captureProtectedIdentityHeaders, type ProtectedIdentityHeadersSnapshot }; export interface ProtectedIdentificationSnapshot { readonly wire: GatewayWire; readonly bodyBytes: Uint8Array; readonly headers: ProtectedIdentityHeadersSnapshot; } export declare const captureProtectedIdentification: (wire: GatewayWire, rawIngressBody: unknown, rawIngressHeaders: Readonly>) => ProtectedIdentificationSnapshot; export interface CanonicalProtectedSnapshot { readonly wire: GatewayWire; readonly bytes: Uint8Array; } export declare const captureCanonicalProtectedProjection: (wire: GatewayWire, request: GenerateRequest, knownBody?: { readonly ref: unknown; readonly bytes: Uint8Array; }) => CanonicalProtectedSnapshot; export type ProtectedEgressKind = 'provider-native' | 'provider-canonical' | 'legacy-flow' | 'relay-hop'; export interface VerifyProtectedIdentificationInput { readonly ingress: ProtectedIdentificationSnapshot | undefined; readonly canonicalIngress?: CanonicalProtectedSnapshot; readonly egressKind: ProtectedEgressKind; readonly body: unknown; readonly headers: Readonly>; readonly nativeForwardedHeaders?: Readonly>; readonly canonicalRequest?: GenerateRequest; readonly egressAdapterHeaders?: Readonly>; } export declare const verifyProtectedIdentificationAtEgress: (input: VerifyProtectedIdentificationInput) => void; //# sourceMappingURL=protected-identification.d.ts.map