UNPKG

@chubbyts/chubbyts-negotiation

Version:
10 lines (9 loc) 322 B
export type NegotiatedValue = { value: string; attributes: Record<string, string>; }; export type Negotiator = { negotiate: (header: string) => NegotiatedValue | undefined; supportedValues: Array<string>; }; export declare const resolveHeaderToMap: (header: string) => Map<string, Record<string, string>>;