import type { GenerationAttemptInput, RequestFingerprintV1 } from "../types.js"; export declare const REQUEST_FINGERPRINT_VERSION: 1; export declare const REQUEST_FINGERPRINT_SERIALIZER_VERSION: 1; /** * Captures hashes and byte counts from the exact JSON string passed to fetch. * The returned value has no request body, header, URL, or decoded JSON values. */ export declare function fingerprintFinalRequest(input: Pick, body: BodyInit | null | undefined): RequestFingerprintV1 | undefined; export type PrefixAffinityClassification = "exact_append_eligible" | "partial_prefix_eligible" | "not_eligible" | "unknown"; export declare function classifyPrefixAffinity(prior: RequestFingerprintV1 | undefined, next: RequestFingerprintV1 | undefined): PrefixAffinityClassification;