import { Interface } from "../abi/index.js"; import { Log, TransactionResponse } from "../providers/provider.js"; import { ContractTransactionResponse, EventLog } from "./wrappers.js"; import type { EventFragment, FunctionFragment, InterfaceAbi, ParamType } from "../abi/index.js"; import type { Addressable } from "../address/index.js"; import type { EventEmitterable, Listener } from "../utils/index.js"; import type { BlockTag, ContractRunner } from "../providers/index.js"; import type { ContractEventName, ContractInterface, ContractMethod, ContractEvent, ContractTransaction, WrappedFallback } from "./types.js"; /** * @_ignore: */ export declare function copyOverrides(arg: any, allowed?: Array): Promise>; /** * @_ignore: */ export declare function resolveArgs(_runner: null | ContractRunner, inputs: ReadonlyArray, args: Array): Promise>; declare const internal: unique symbol; export declare class BaseContract implements Addressable, EventEmitterable { readonly target: string | Addressable; readonly interface: Interface; readonly runner: null | ContractRunner; readonly filters: Record; readonly [internal]: any; readonly fallback: null | WrappedFallback; constructor(target: string | Addressable, abi: Interface | InterfaceAbi, runner?: null | ContractRunner, _deployTx?: null | TransactionResponse); connect(runner: null | ContractRunner): BaseContract; getAddress(): Promise; getDeployedCode(): Promise; waitForDeployment(): Promise; deploymentTransaction(): null | ContractTransactionResponse; getFunction(key: string | FunctionFragment): T; getEvent(key: string | EventFragment): ContractEvent; queryTransaction(hash: string): Promise>; queryFilter(event: ContractEventName, fromBlock?: BlockTag, toBlock?: BlockTag): Promise>; on(event: ContractEventName, listener: Listener): Promise; once(event: ContractEventName, listener: Listener): Promise; emit(event: ContractEventName, ...args: Array): Promise; listenerCount(event?: ContractEventName): Promise; listeners(event?: ContractEventName): Promise>; off(event: ContractEventName, listener?: Listener): Promise; removeAllListeners(event?: ContractEventName): Promise; addListener(event: ContractEventName, listener: Listener): Promise; removeListener(event: ContractEventName, listener: Listener): Promise; static buildClass(abi: InterfaceAbi): new (target: string, runner?: null | ContractRunner) => BaseContract & Omit; static from(target: string, abi: InterfaceAbi, runner?: null | ContractRunner): BaseContract & Omit; } declare const Contract_base: new (target: string, abi: InterfaceAbi, runner?: ContractRunner | null | undefined) => BaseContract & Omit; export declare class Contract extends Contract_base { } export {}; //# sourceMappingURL=contract.d.ts.map