import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
export declare namespace Pairing {
    type G1PointStruct = {
        x: BigNumberish;
        y: BigNumberish;
    };
    type G1PointStructOutput = [x: bigint, y: bigint] & {
        x: bigint;
        y: bigint;
    };
    type G2PointStruct = {
        x: [BigNumberish, BigNumberish];
        y: [BigNumberish, BigNumberish];
    };
    type G2PointStructOutput = [
        x: [bigint, bigint],
        y: [bigint, bigint]
    ] & {
        x: [bigint, bigint];
        y: [bigint, bigint];
    };
}
export declare namespace SnarkCommon {
    type VerifyingKeyStruct = {
        alpha1: Pairing.G1PointStruct;
        beta2: Pairing.G2PointStruct;
        gamma2: Pairing.G2PointStruct;
        delta2: Pairing.G2PointStruct;
        ic: Pairing.G1PointStruct[];
    };
    type VerifyingKeyStructOutput = [
        alpha1: Pairing.G1PointStructOutput,
        beta2: Pairing.G2PointStructOutput,
        gamma2: Pairing.G2PointStructOutput,
        delta2: Pairing.G2PointStructOutput,
        ic: Pairing.G1PointStructOutput[]
    ] & {
        alpha1: Pairing.G1PointStructOutput;
        beta2: Pairing.G2PointStructOutput;
        gamma2: Pairing.G2PointStructOutput;
        delta2: Pairing.G2PointStructOutput;
        ic: Pairing.G1PointStructOutput[];
    };
}
export interface IVerifyingKeysRegistryInterface extends Interface {
    getFunction(nameOrSignature: "getPollJoinedVerifyingKey" | "getPollJoiningVerifyingKey" | "getProcessVerifyingKey" | "getTallyVerifyingKey"): FunctionFragment;
    encodeFunctionData(functionFragment: "getPollJoinedVerifyingKey", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "getPollJoiningVerifyingKey", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "getProcessVerifyingKey", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "getTallyVerifyingKey", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
    decodeFunctionResult(functionFragment: "getPollJoinedVerifyingKey", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPollJoiningVerifyingKey", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getProcessVerifyingKey", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getTallyVerifyingKey", data: BytesLike): Result;
}
export interface IVerifyingKeysRegistry extends BaseContract {
    connect(runner?: ContractRunner | null): IVerifyingKeysRegistry;
    waitForDeployment(): Promise<this>;
    interface: IVerifyingKeysRegistryInterface;
    queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
    listeners(eventName?: string): Promise<Array<Listener>>;
    removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
    getPollJoinedVerifyingKey: TypedContractMethod<[
        _stateTreeDepth: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getPollJoiningVerifyingKey: TypedContractMethod<[
        _stateTreeDepth: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getProcessVerifyingKey: TypedContractMethod<[
        _stateTreeDepth: BigNumberish,
        _voteOptionTreeDepth: BigNumberish,
        _messageBatchSize: BigNumberish,
        _mode: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getTallyVerifyingKey: TypedContractMethod<[
        _stateTreeDepth: BigNumberish,
        _intStateTreeDepth: BigNumberish,
        _voteOptionTreeDepth: BigNumberish,
        _mode: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "getPollJoinedVerifyingKey"): TypedContractMethod<[
        _stateTreeDepth: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getFunction(nameOrSignature: "getPollJoiningVerifyingKey"): TypedContractMethod<[
        _stateTreeDepth: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getFunction(nameOrSignature: "getProcessVerifyingKey"): TypedContractMethod<[
        _stateTreeDepth: BigNumberish,
        _voteOptionTreeDepth: BigNumberish,
        _messageBatchSize: BigNumberish,
        _mode: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    getFunction(nameOrSignature: "getTallyVerifyingKey"): TypedContractMethod<[
        _stateTreeDepth: BigNumberish,
        _intStateTreeDepth: BigNumberish,
        _voteOptionTreeDepth: BigNumberish,
        _mode: BigNumberish
    ], [
        SnarkCommon.VerifyingKeyStructOutput
    ], "view">;
    filters: {};
}
//# sourceMappingURL=IVerifyingKeysRegistry.d.ts.map