import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../common";
export interface ZRC20EventsInterface extends Interface {
    getEvent(nameOrSignatureOrTopic: "Approval" | "Deposit" | "Transfer" | "UpdatedGasLimit" | "UpdatedGateway" | "UpdatedProtocolFlatFee" | "UpdatedSystemContract" | "Withdrawal"): EventFragment;
}
export declare namespace ApprovalEvent {
    type InputTuple = [
        owner: AddressLike,
        spender: AddressLike,
        value: BigNumberish
    ];
    type OutputTuple = [owner: string, spender: string, value: bigint];
    interface OutputObject {
        owner: string;
        spender: string;
        value: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace DepositEvent {
    type InputTuple = [
        from: BytesLike,
        to: AddressLike,
        value: BigNumberish
    ];
    type OutputTuple = [from: string, to: string, value: bigint];
    interface OutputObject {
        from: string;
        to: string;
        value: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace TransferEvent {
    type InputTuple = [
        from: AddressLike,
        to: AddressLike,
        value: BigNumberish
    ];
    type OutputTuple = [from: string, to: string, value: bigint];
    interface OutputObject {
        from: string;
        to: string;
        value: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace UpdatedGasLimitEvent {
    type InputTuple = [gasLimit: BigNumberish];
    type OutputTuple = [gasLimit: bigint];
    interface OutputObject {
        gasLimit: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace UpdatedGatewayEvent {
    type InputTuple = [gateway: AddressLike];
    type OutputTuple = [gateway: string];
    interface OutputObject {
        gateway: string;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace UpdatedProtocolFlatFeeEvent {
    type InputTuple = [protocolFlatFee: BigNumberish];
    type OutputTuple = [protocolFlatFee: bigint];
    interface OutputObject {
        protocolFlatFee: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace UpdatedSystemContractEvent {
    type InputTuple = [systemContract: AddressLike];
    type OutputTuple = [systemContract: string];
    interface OutputObject {
        systemContract: string;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace WithdrawalEvent {
    type InputTuple = [
        from: AddressLike,
        to: BytesLike,
        value: BigNumberish,
        gasFee: BigNumberish,
        protocolFlatFee: BigNumberish
    ];
    type OutputTuple = [
        from: string,
        to: string,
        value: bigint,
        gasFee: bigint,
        protocolFlatFee: bigint
    ];
    interface OutputObject {
        from: string;
        to: string;
        value: bigint;
        gasFee: bigint;
        protocolFlatFee: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export interface ZRC20Events extends BaseContract {
    connect(runner?: ContractRunner | null): ZRC20Events;
    waitForDeployment(): Promise<this>;
    interface: ZRC20EventsInterface;
    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>;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
    getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
    getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
    getEvent(key: "UpdatedGasLimit"): TypedContractEvent<UpdatedGasLimitEvent.InputTuple, UpdatedGasLimitEvent.OutputTuple, UpdatedGasLimitEvent.OutputObject>;
    getEvent(key: "UpdatedGateway"): TypedContractEvent<UpdatedGatewayEvent.InputTuple, UpdatedGatewayEvent.OutputTuple, UpdatedGatewayEvent.OutputObject>;
    getEvent(key: "UpdatedProtocolFlatFee"): TypedContractEvent<UpdatedProtocolFlatFeeEvent.InputTuple, UpdatedProtocolFlatFeeEvent.OutputTuple, UpdatedProtocolFlatFeeEvent.OutputObject>;
    getEvent(key: "UpdatedSystemContract"): TypedContractEvent<UpdatedSystemContractEvent.InputTuple, UpdatedSystemContractEvent.OutputTuple, UpdatedSystemContractEvent.OutputObject>;
    getEvent(key: "Withdrawal"): TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
    filters: {
        "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
        Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
        "Deposit(bytes,address,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
        Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
        "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
        Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
        "UpdatedGasLimit(uint256)": TypedContractEvent<UpdatedGasLimitEvent.InputTuple, UpdatedGasLimitEvent.OutputTuple, UpdatedGasLimitEvent.OutputObject>;
        UpdatedGasLimit: TypedContractEvent<UpdatedGasLimitEvent.InputTuple, UpdatedGasLimitEvent.OutputTuple, UpdatedGasLimitEvent.OutputObject>;
        "UpdatedGateway(address)": TypedContractEvent<UpdatedGatewayEvent.InputTuple, UpdatedGatewayEvent.OutputTuple, UpdatedGatewayEvent.OutputObject>;
        UpdatedGateway: TypedContractEvent<UpdatedGatewayEvent.InputTuple, UpdatedGatewayEvent.OutputTuple, UpdatedGatewayEvent.OutputObject>;
        "UpdatedProtocolFlatFee(uint256)": TypedContractEvent<UpdatedProtocolFlatFeeEvent.InputTuple, UpdatedProtocolFlatFeeEvent.OutputTuple, UpdatedProtocolFlatFeeEvent.OutputObject>;
        UpdatedProtocolFlatFee: TypedContractEvent<UpdatedProtocolFlatFeeEvent.InputTuple, UpdatedProtocolFlatFeeEvent.OutputTuple, UpdatedProtocolFlatFeeEvent.OutputObject>;
        "UpdatedSystemContract(address)": TypedContractEvent<UpdatedSystemContractEvent.InputTuple, UpdatedSystemContractEvent.OutputTuple, UpdatedSystemContractEvent.OutputObject>;
        UpdatedSystemContract: TypedContractEvent<UpdatedSystemContractEvent.InputTuple, UpdatedSystemContractEvent.OutputTuple, UpdatedSystemContractEvent.OutputObject>;
        "Withdrawal(address,bytes,uint256,uint256,uint256)": TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
        Withdrawal: TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
    };
}
