import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common.js";
export declare namespace DkgFoldAttestationLib {
    type AttestationStruct = {
        partyId: BigNumberish;
        skAggCommit: BytesLike;
        esmAggCommit: BytesLike;
        signature: BytesLike;
    };
    type AttestationStructOutput = [partyId: bigint, skAggCommit: string, esmAggCommit: string, signature: string] & {
        partyId: bigint;
        skAggCommit: string;
        esmAggCommit: string;
        signature: string;
    };
    type PartySlotBindingStruct = {
        partyId: BigNumberish;
        node: AddressLike;
    };
    type PartySlotBindingStructOutput = [partyId: bigint, node: string] & {
        partyId: bigint;
        node: string;
    };
}
export interface DkgFoldAttestationVerifierInterface extends Interface {
    getFunction(nameOrSignature: "decodeAttestationBundle" | "decodeProofPublicInputs" | "verify"): FunctionFragment;
    encodeFunctionData(functionFragment: 'decodeAttestationBundle', values: [BytesLike]): string;
    encodeFunctionData(functionFragment: 'decodeProofPublicInputs', values: [BytesLike]): string;
    encodeFunctionData(functionFragment: 'verify', values: [AddressLike, BigNumberish, BigNumberish, BytesLike, BytesLike]): string;
    decodeFunctionResult(functionFragment: 'decodeAttestationBundle', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'decodeProofPublicInputs', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'verify', data: BytesLike): Result;
}
export interface DkgFoldAttestationVerifier extends BaseContract {
    connect(runner?: ContractRunner | null): DkgFoldAttestationVerifier;
    waitForDeployment(): Promise<this>;
    interface: DkgFoldAttestationVerifierInterface;
    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>;
    decodeAttestationBundle: TypedContractMethod<[
        dkgAttestationBundle: BytesLike
    ], [
        [DkgFoldAttestationLib.AttestationStructOutput[], DkgFoldAttestationLib.PartySlotBindingStructOutput[]] & {
            attestations: DkgFoldAttestationLib.AttestationStructOutput[];
            bindings: DkgFoldAttestationLib.PartySlotBindingStructOutput[];
        }
    ], 'view'>;
    decodeProofPublicInputs: TypedContractMethod<[
        proof: BytesLike
    ], [
        string[]
    ], 'view'>;
    verify: TypedContractMethod<[
        registry: AddressLike,
        chainId: BigNumberish,
        e3Id: BigNumberish,
        proof: BytesLike,
        dkgAttestationBundle: BytesLike
    ], [
        [bigint[], string[], string[]] & {
            partyIds: bigint[];
            skAggCommits: string[];
            esmAggCommits: string[];
        }
    ], 'view'>;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: 'decodeAttestationBundle'): TypedContractMethod<[
        dkgAttestationBundle: BytesLike
    ], [
        [DkgFoldAttestationLib.AttestationStructOutput[], DkgFoldAttestationLib.PartySlotBindingStructOutput[]] & {
            attestations: DkgFoldAttestationLib.AttestationStructOutput[];
            bindings: DkgFoldAttestationLib.PartySlotBindingStructOutput[];
        }
    ], 'view'>;
    getFunction(nameOrSignature: 'decodeProofPublicInputs'): TypedContractMethod<[
        proof: BytesLike
    ], [
        string[]
    ], 'view'>;
    getFunction(nameOrSignature: 'verify'): TypedContractMethod<[
        registry: AddressLike,
        chainId: BigNumberish,
        e3Id: BigNumberish,
        proof: BytesLike,
        dkgAttestationBundle: BytesLike
    ], [
        [bigint[], string[], string[]] & {
            partyIds: bigint[];
            skAggCommits: string[];
            esmAggCommits: string[];
        }
    ], 'view'>;
    filters: {};
}
//# sourceMappingURL=DkgFoldAttestationVerifier.d.ts.map