import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../common"; export declare namespace DAVINCITypes { type DKGParamsStruct = { mode: BigNumberish; epochId: BytesLike; orgPKx: BigNumberish; orgPKy: BigNumberish; popAx: BigNumberish; popAy: BigNumberish; popZ: BigNumberish; }; type DKGParamsStructOutput = [ mode: bigint, epochId: string, orgPKx: bigint, orgPKy: bigint, popAx: bigint, popAy: bigint, popZ: bigint ] & { mode: bigint; epochId: string; orgPKx: bigint; orgPKy: bigint; popAx: bigint; popAy: bigint; popZ: bigint; }; } export interface CouncilAdapterInterface extends Interface { getFunction(nameOrSignature: "bindings" | "isDecryptionOpen" | "manager" | "plaintexts" | "register" | "registry" | "reveal" | "submit"): FunctionFragment; encodeFunctionData(functionFragment: "bindings", values: [BytesLike]): string; encodeFunctionData(functionFragment: "isDecryptionOpen", values: [BytesLike]): string; encodeFunctionData(functionFragment: "manager", values?: undefined): string; encodeFunctionData(functionFragment: "plaintexts", values: [BytesLike, BytesLike, BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "register", values: [BytesLike, AddressLike, DAVINCITypes.DKGParamsStruct]): string; encodeFunctionData(functionFragment: "registry", values?: undefined): string; encodeFunctionData(functionFragment: "reveal", values: [BytesLike, BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "submit", values: [ BytesLike, BytesLike, [ BigNumberish, BigNumberish, BigNumberish, BigNumberish ][] ]): string; decodeFunctionResult(functionFragment: "bindings", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isDecryptionOpen", data: BytesLike): Result; decodeFunctionResult(functionFragment: "manager", data: BytesLike): Result; decodeFunctionResult(functionFragment: "plaintexts", data: BytesLike): Result; decodeFunctionResult(functionFragment: "register", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result; decodeFunctionResult(functionFragment: "reveal", data: BytesLike): Result; decodeFunctionResult(functionFragment: "submit", data: BytesLike): Result; } export interface CouncilAdapter extends BaseContract { connect(runner?: ContractRunner | null): CouncilAdapter; waitForDeployment(): Promise; interface: CouncilAdapterInterface; 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; bindings: TypedContractMethod<[ requestId: BytesLike ], [ [ string, bigint, string ] & { ceremonyId: string; fieldCount: bigint; processId: string; } ], "view">; isDecryptionOpen: TypedContractMethod<[cid: BytesLike], [boolean], "view">; manager: TypedContractMethod<[], [string], "view">; plaintexts: TypedContractMethod<[ cid: BytesLike, requestId: BytesLike, first: BigNumberish, count: BigNumberish ], [ [boolean, bigint[]] & { ready: boolean; values: bigint[]; } ], "view">; register: TypedContractMethod<[ processId: BytesLike, creator: AddressLike, dkg: DAVINCITypes.DKGParamsStruct ], [ [ string, string, bigint, bigint ] & { cid: string; requestId: string; pkX: bigint; pkY: bigint; } ], "nonpayable">; registry: TypedContractMethod<[], [string], "view">; reveal: TypedContractMethod<[ arg0: BytesLike, arg1: BytesLike, arg2: BigNumberish ], [ void ], "view">; submit: TypedContractMethod<[ cid: BytesLike, requestId: BytesLike, cts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish][] ], [ bigint ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "bindings"): TypedContractMethod<[ requestId: BytesLike ], [ [ string, bigint, string ] & { ceremonyId: string; fieldCount: bigint; processId: string; } ], "view">; getFunction(nameOrSignature: "isDecryptionOpen"): TypedContractMethod<[cid: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "manager"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "plaintexts"): TypedContractMethod<[ cid: BytesLike, requestId: BytesLike, first: BigNumberish, count: BigNumberish ], [ [boolean, bigint[]] & { ready: boolean; values: bigint[]; } ], "view">; getFunction(nameOrSignature: "register"): TypedContractMethod<[ processId: BytesLike, creator: AddressLike, dkg: DAVINCITypes.DKGParamsStruct ], [ [ string, string, bigint, bigint ] & { cid: string; requestId: string; pkX: bigint; pkY: bigint; } ], "nonpayable">; getFunction(nameOrSignature: "registry"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "reveal"): TypedContractMethod<[ arg0: BytesLike, arg1: BytesLike, arg2: BigNumberish ], [ void ], "view">; getFunction(nameOrSignature: "submit"): TypedContractMethod<[ cid: BytesLike, requestId: BytesLike, cts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish][] ], [ bigint ], "nonpayable">; filters: {}; }