export interface ContentPreference { readonly type: string; readonly subtype: string; readonly q: number; readonly specificity: 0 | 1 | 2; } /** Parse an `Accept` header, preserving quality and wildcard specificity. */ export declare function parseAcceptHeader(value: string | null): readonly ContentPreference[]; /** * Select the best offered media type for an `Accept` header. The returned string is the original * offered value, so parameters such as `profile` are preserved. An absent/empty header accepts the * first offer; an explicit `q=0` or no matching offer returns `undefined`. */ export declare function negotiateContentType(accept: string | null | Headers | Request, offered: readonly string[]): string | undefined; //# sourceMappingURL=content-negotiation.d.ts.map