//#region src/server/http-conditional.d.ts
/**
 * Test an If-None-Match field value against a current entity tag.
 *
 * RFC 9110 requires weak comparison for If-None-Match: a weak and strong
 * validator with the same opaque tag compare equal.
 */
declare function matchesIfNoneMatch(ifNoneMatch: string | undefined, etag: string): boolean;
/** Test an If-Match field using Next.js's weak/strong-equivalent comparison. */
declare function matchesIfMatch(ifMatch: string | undefined, etag: string | undefined): boolean;
type StaticConditionalHeaders = {
  cacheControl?: string | string[];
  ifMatch?: string | string[];
  ifUnmodifiedSince?: string | string[];
  ifNoneMatch?: string | string[];
  ifModifiedSince?: string | string[];
};
type StaticPreconditionResult = "proceed" | "not-modified" | "precondition-failed";
/** Evaluate static representation preconditions in RFC 9110 section 13.2.2 order. */
declare function evaluateStaticPreconditions(headers: StaticConditionalHeaders, method: string | undefined, etag: string | undefined, mtimeMs: number): StaticPreconditionResult;
//#endregion
export { StaticPreconditionResult, evaluateStaticPreconditions, matchesIfMatch, matchesIfNoneMatch };