/** Returns `true` if the buffer starts with the WOFF2 magic bytes. */ export declare function isWoff2(data: ArrayBuffer): boolean; /** * If the buffer is a WOFF2 font, decompress it to raw TTF/OTF. * Otherwise return the buffer unchanged. * * The `wawoff2` dependency is loaded lazily on first WOFF2 encounter * so non-WOFF2 users pay no cost. */ export declare function ensureRawFont(data: ArrayBuffer): Promise; //# sourceMappingURL=decode-woff2.d.ts.map