/** npm package name (used to load the standalone circuits module). */ declare const PACKAGE_NAME: string; /** Withdraw circuit artifact filenames (published under `arcane-sdk/circuits/`). */ declare const WITHDRAW_CIRCUIT_WASM = "withdraw.wasm"; declare const WITHDRAW_CIRCUIT_ZKEY = "withdraw.zkey"; /** * Pinned SHA-256 hashes for the published withdraw circuit artifacts. * These are verified in-browser before passing artifacts to snarkjs. */ declare const WITHDRAW_CIRCUIT_SHA256: { readonly wasm: "2565a8dd94b0b3cb9ec6d415933ab05ed5d32ac07165b71be6bcf31615fc0330"; readonly zkey: "64a4d915099f6fe6bfa06e151c254843be8773c7991c742260019dc5184e5d82"; }; /** Optional self-hosted path convention (opt-in via `circuitPathsBase`). */ declare const SELF_HOSTED_CIRCUIT_BASE = "/circuits/"; type CircuitPaths = { wasm: string; zkey: string; }; /** Resolve circuit URLs when the caller knows the package `dist/` root. */ declare function resolveCircuitPathsFromBase(base: string): CircuitPaths; /** * Base URL for circuit files on jsDelivr. * * Pinned to {@link CIRCUIT_CDN_PACKAGE}@{@link CIRCUIT_CDN_VERSION} (not the * current SDK version) so the bytes always match {@link WITHDRAW_CIRCUIT_SHA256}. * This URL is independent of the consuming app's origin/domain. */ declare function resolveNpmCdnCircuitBase(): string; /** Trusted jsDelivr fallback paths for pinned withdraw circuit artifacts. */ declare function resolveNpmCdnCircuitPaths(): CircuitPaths; /** * Browser circuit URLs. * * - Local dev (Vite): `/node_modules//dist/circuits/` — Vite serves node_modules. * - Production: pinned, domain-independent jsDelivr CDN (verified by SHA-256 before use). * * The production default does not depend on the app's own origin/domain, so it * works on any deployed host with no copy step. Artifacts are always integrity * checked before proving (see {@link WITHDRAW_CIRCUIT_SHA256}). To self-host * instead, pass {@link ArcaneSdkInitOptions.circuitPathsBase} (e.g. `"/circuits/"`); * it is verified too and falls back to the CDN if unavailable. */ declare function resolveBrowserCircuitPaths(baseOverride?: string): CircuitPaths | null; export { type CircuitPaths as C, PACKAGE_NAME as P, SELF_HOSTED_CIRCUIT_BASE as S, WITHDRAW_CIRCUIT_SHA256 as W, WITHDRAW_CIRCUIT_WASM as a, WITHDRAW_CIRCUIT_ZKEY as b, resolveCircuitPathsFromBase as c, resolveNpmCdnCircuitBase as d, resolveNpmCdnCircuitPaths as e, resolveBrowserCircuitPaths as r };