import { type WaitOpts } from '@aztec/aztec.js/contracts';
import { BenchmarkingContract } from '@aztec/noir-test-contracts.js/Benchmarking';
import type { TxHash } from '@aztec/stdlib/tx';
import type { MetricDefinition } from '@aztec/telemetry-client';
import type { BenchmarkTelemetryClient } from '@aztec/telemetry-client/bench';
import { type EndToEndContext, type SetupOptions } from '../fixtures/utils.js';
/**
 * Setup for benchmarks. Initializes a remote node with a single account and deploys a benchmark contract.
 */
export declare function benchmarkSetup(opts: Partial<SetupOptions> & {
    /** What metrics to export */ metrics: (MetricDefinition | MetricFilter)[];
    /** Where to output the benchmark data (defaults to BENCH_OUTPUT or bench.json) */
    benchOutput?: string;
}): Promise<{
    telemetry: BenchmarkTelemetryClient;
    context: EndToEndContext;
    contract: BenchmarkingContract;
    sequencer: import("@aztec/sequencer-client").SequencerClient;
}>;
type MetricFilter = {
    source: MetricDefinition;
    transform: (value: number) => number;
    name: string;
    unit?: string;
};
export type GithubActionBenchmarkResult = {
    name: string;
    value: number;
    range?: string;
    unit: string;
    extra?: string;
};
/**
 * Assembles and sends multiple transactions simultaneously to the node in context.
 * Each tx is the result of calling makeCall.
 * @param txCount - How many txs to send
 * @param context - End to end context.
 * @param contract - Target contract.
 * @param heavyPublicCompute - Whether the transactions include heavy public compute (like a big sha256).
 * @returns Array of sent txs.
 */
export declare function sendTxs(txCount: number, context: EndToEndContext, contract: BenchmarkingContract, heavyPublicCompute?: boolean): Promise<TxHash[]>;
export declare function waitTxs(txs: TxHash[], context: EndToEndContext, txWaitOpts?: WaitOpts): Promise<void>;
export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iZW5jaC91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQXNCLEtBQUssUUFBUSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QU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