import type { UltraHonkBackend } from "@aztec/bb.js"; import type { CompiledCircuit, Noir } from "@noir-lang/noir_js"; import type { HardhatConfig, HardhatRuntimeEnvironment } from "hardhat/types"; export declare class NoirExtension { private hre; constructor(hre: HardhatRuntimeEnvironment); /** * Get the JSON of the given circuit by name. */ getCircuitJson(name: string): Promise; /** * Creates a Noir and Backend instances for the given circuit. * Call this only once per circuit as it creates a new backend each time. * * @param name name of the circuit * @param backendClass Backend class. Currently, only {@link UltraHonkBackend}-like backends are supported. */ getCircuit(name: string, backendClass?: new (bytecode: string) => T): Promise<{ circuit: CompiledCircuit; noir: Noir; backend: T; }>; } export declare function getTarget(noirDir: string | HardhatConfig): Promise; //# sourceMappingURL=Noir.d.ts.map