export type ETag = string; export type ETagsToDictionaries = Map export interface DecoderDictionaryStore { has(body: BufferSource): Boolean; get(body: BufferSource): Array<[ETag, Dictionary]>; read(decoded: BufferSource, dictionaryETag?: ETag): BufferSource; } export interface ImDecoder { name: string; decode(dictionary: Dictionary, body: BufferSource): BufferSource; }