import type { ResponseBodyHandler } from '@scalar/oas-utils/helpers'; /** * Decode the buffer according to its content-type. * When a plugin handler with a custom `decode` function is provided, it takes priority * over the default text/binary decoding. * * @returns The decoded string or Blob */ export declare const decodeBuffer: (buffer: ArrayBuffer, contentType: string, pluginHandler?: ResponseBodyHandler) => Promise; //# sourceMappingURL=decode-buffer.d.ts.map