/**
 * Mock WASM binary - replaces the auto-generated ../core/wasm-binary module.
 * The real file is generated by scripts/inline-wasm.sh and embeds base64 WASM.
 */
export const WASM_BINARY_BASE64 = 'AGFzbQEAAAA='; // minimal valid WASM header
export function decodeWasmBinary() {
    if (typeof atob === 'function') {
        const binaryString = atob(WASM_BINARY_BASE64);
        const bytes = new Uint8Array(binaryString.length);
        for (let i = 0; i < binaryString.length; i++) {
            bytes[i] = binaryString.charCodeAt(i);
        }
        return bytes;
    }
    if (typeof Buffer !== 'undefined') {
        return new Uint8Array(Buffer.from(WASM_BINARY_BASE64, 'base64'));
    }
    throw new Error('No base64 decoder available');
}
//# sourceMappingURL=wasm-binary.js.map