import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
export interface VTreasuryInterface extends utils.Interface {
    functions: {
        "owner()": FunctionFragment;
        "renounceOwnership()": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
        "withdrawTreasuryBEP20(address,uint256,address)": FunctionFragment;
        "withdrawTreasuryBNB(uint256,address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "owner" | "renounceOwnership" | "transferOwnership" | "withdrawTreasuryBEP20" | "withdrawTreasuryBNB"): FunctionFragment;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "withdrawTreasuryBEP20", values: [
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<string>
    ]): string;
    encodeFunctionData(functionFragment: "withdrawTreasuryBNB", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "withdrawTreasuryBEP20", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "withdrawTreasuryBNB", data: BytesLike): Result;
    events: {
        "OwnershipTransferred(address,address)": EventFragment;
        "WithdrawTreasuryBEP20(address,uint256,address)": EventFragment;
        "WithdrawTreasuryBNB(uint256,address)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "WithdrawTreasuryBEP20"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "WithdrawTreasuryBNB"): EventFragment;
}
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<[
    string,
    string
], OwnershipTransferredEventObject>;
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface WithdrawTreasuryBEP20EventObject {
    tokenAddress: string;
    withdrawAmount: BigNumber;
    withdrawAddress: string;
}
export type WithdrawTreasuryBEP20Event = TypedEvent<[
    string,
    BigNumber,
    string
], WithdrawTreasuryBEP20EventObject>;
export type WithdrawTreasuryBEP20EventFilter = TypedEventFilter<WithdrawTreasuryBEP20Event>;
export interface WithdrawTreasuryBNBEventObject {
    withdrawAmount: BigNumber;
    withdrawAddress: string;
}
export type WithdrawTreasuryBNBEvent = TypedEvent<[
    BigNumber,
    string
], WithdrawTreasuryBNBEventObject>;
export type WithdrawTreasuryBNBEventFilter = TypedEventFilter<WithdrawTreasuryBNBEvent>;
export interface VTreasury extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: VTreasuryInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        owner(overrides?: CallOverrides): Promise<[string]>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        withdrawTreasuryBEP20(tokenAddress: PromiseOrValue<string>, withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        withdrawTreasuryBNB(withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    owner(overrides?: CallOverrides): Promise<string>;
    renounceOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    withdrawTreasuryBEP20(tokenAddress: PromiseOrValue<string>, withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    withdrawTreasuryBNB(withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: PayableOverrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        owner(overrides?: CallOverrides): Promise<string>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        withdrawTreasuryBEP20(tokenAddress: PromiseOrValue<string>, withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        withdrawTreasuryBNB(withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        "WithdrawTreasuryBEP20(address,uint256,address)"(tokenAddress?: null, withdrawAmount?: null, withdrawAddress?: null): WithdrawTreasuryBEP20EventFilter;
        WithdrawTreasuryBEP20(tokenAddress?: null, withdrawAmount?: null, withdrawAddress?: null): WithdrawTreasuryBEP20EventFilter;
        "WithdrawTreasuryBNB(uint256,address)"(withdrawAmount?: null, withdrawAddress?: null): WithdrawTreasuryBNBEventFilter;
        WithdrawTreasuryBNB(withdrawAmount?: null, withdrawAddress?: null): WithdrawTreasuryBNBEventFilter;
    };
    estimateGas: {
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        withdrawTreasuryBEP20(tokenAddress: PromiseOrValue<string>, withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        withdrawTreasuryBNB(withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        withdrawTreasuryBEP20(tokenAddress: PromiseOrValue<string>, withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        withdrawTreasuryBNB(withdrawAmount: PromiseOrValue<BigNumberish>, withdrawAddress: PromiseOrValue<string>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
