type Woff2Decoder = (data: ArrayBuffer | Uint8Array) => Uint8Array | Promise; export declare function setWoff2Decoder(decoder: Woff2Decoder): void; export declare class WoffConverter { static detectFormat(buffer: ArrayBuffer): 'woff' | 'woff2' | 'ttf/otf'; static decompressWoff(woffBuffer: ArrayBuffer): Promise; static decompressWoff2(woff2Buffer: ArrayBuffer): Promise; private static decompressZlib; } export {};