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; interface: DkgFoldAttestationVerifierInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; 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(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