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, PopulatedTransaction, Signer, utils } from "ethers";
export interface RouterHelperInterface extends utils.Interface {
    functions: {
        "WBNB()": FunctionFragment;
        "factory()": FunctionFragment;
        "getAmountIn(uint256,uint256,uint256)": FunctionFragment;
        "getAmountOut(uint256,uint256,uint256)": FunctionFragment;
        "getAmountsIn(uint256,address[])": FunctionFragment;
        "getAmountsOut(uint256,address[])": FunctionFragment;
        "quote(uint256,uint256,uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "WBNB" | "factory" | "getAmountIn" | "getAmountOut" | "getAmountsIn" | "getAmountsOut" | "quote"): FunctionFragment;
    encodeFunctionData(functionFragment: "WBNB", values?: undefined): string;
    encodeFunctionData(functionFragment: "factory", values?: undefined): string;
    encodeFunctionData(functionFragment: "getAmountIn", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "getAmountOut", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "getAmountsIn", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>[]]): string;
    encodeFunctionData(functionFragment: "getAmountsOut", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>[]]): string;
    encodeFunctionData(functionFragment: "quote", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    decodeFunctionResult(functionFragment: "WBNB", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "factory", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAmountIn", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAmountOut", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAmountsIn", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAmountsOut", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "quote", data: BytesLike): Result;
    events: {
        "SwapBnbForTokens(address,address[],uint256[])": EventFragment;
        "SwapBnbForTokensAtSupportingFee(address,address[])": EventFragment;
        "SwapTokensForBnb(address,address[],uint256[])": EventFragment;
        "SwapTokensForBnbAtSupportingFee(address,address[])": EventFragment;
        "SwapTokensForTokens(address,address[],uint256[])": EventFragment;
        "SwapTokensForTokensAtSupportingFee(address,address[])": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "SwapBnbForTokens"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SwapBnbForTokensAtSupportingFee"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SwapTokensForBnb"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SwapTokensForBnbAtSupportingFee"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SwapTokensForTokens"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SwapTokensForTokensAtSupportingFee"): EventFragment;
}
export interface SwapBnbForTokensEventObject {
    swapper: string;
    path: string[];
    amounts: BigNumber[];
}
export type SwapBnbForTokensEvent = TypedEvent<[
    string,
    string[],
    BigNumber[]
], SwapBnbForTokensEventObject>;
export type SwapBnbForTokensEventFilter = TypedEventFilter<SwapBnbForTokensEvent>;
export interface SwapBnbForTokensAtSupportingFeeEventObject {
    swapper: string;
    path: string[];
}
export type SwapBnbForTokensAtSupportingFeeEvent = TypedEvent<[
    string,
    string[]
], SwapBnbForTokensAtSupportingFeeEventObject>;
export type SwapBnbForTokensAtSupportingFeeEventFilter = TypedEventFilter<SwapBnbForTokensAtSupportingFeeEvent>;
export interface SwapTokensForBnbEventObject {
    swapper: string;
    path: string[];
    amounts: BigNumber[];
}
export type SwapTokensForBnbEvent = TypedEvent<[
    string,
    string[],
    BigNumber[]
], SwapTokensForBnbEventObject>;
export type SwapTokensForBnbEventFilter = TypedEventFilter<SwapTokensForBnbEvent>;
export interface SwapTokensForBnbAtSupportingFeeEventObject {
    swapper: string;
    path: string[];
}
export type SwapTokensForBnbAtSupportingFeeEvent = TypedEvent<[
    string,
    string[]
], SwapTokensForBnbAtSupportingFeeEventObject>;
export type SwapTokensForBnbAtSupportingFeeEventFilter = TypedEventFilter<SwapTokensForBnbAtSupportingFeeEvent>;
export interface SwapTokensForTokensEventObject {
    swapper: string;
    path: string[];
    amounts: BigNumber[];
}
export type SwapTokensForTokensEvent = TypedEvent<[
    string,
    string[],
    BigNumber[]
], SwapTokensForTokensEventObject>;
export type SwapTokensForTokensEventFilter = TypedEventFilter<SwapTokensForTokensEvent>;
export interface SwapTokensForTokensAtSupportingFeeEventObject {
    swapper: string;
    path: string[];
}
export type SwapTokensForTokensAtSupportingFeeEvent = TypedEvent<[
    string,
    string[]
], SwapTokensForTokensAtSupportingFeeEventObject>;
export type SwapTokensForTokensAtSupportingFeeEventFilter = TypedEventFilter<SwapTokensForTokensAtSupportingFeeEvent>;
export interface RouterHelper extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: RouterHelperInterface;
    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: {
        WBNB(overrides?: CallOverrides): Promise<[string]>;
        factory(overrides?: CallOverrides): Promise<[string]>;
        getAmountIn(amountOut: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
            amountIn: BigNumber;
        }>;
        getAmountOut(amountIn: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
            amountOut: BigNumber;
        }>;
        getAmountsIn(amountOut: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<[BigNumber[]] & {
            amounts: BigNumber[];
        }>;
        getAmountsOut(amountIn: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<[BigNumber[]] & {
            amounts: BigNumber[];
        }>;
        quote(amountA: PromiseOrValue<BigNumberish>, reserveA: PromiseOrValue<BigNumberish>, reserveB: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
            amountB: BigNumber;
        }>;
    };
    WBNB(overrides?: CallOverrides): Promise<string>;
    factory(overrides?: CallOverrides): Promise<string>;
    getAmountIn(amountOut: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    getAmountOut(amountIn: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    getAmountsIn(amountOut: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
    getAmountsOut(amountIn: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
    quote(amountA: PromiseOrValue<BigNumberish>, reserveA: PromiseOrValue<BigNumberish>, reserveB: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    callStatic: {
        WBNB(overrides?: CallOverrides): Promise<string>;
        factory(overrides?: CallOverrides): Promise<string>;
        getAmountIn(amountOut: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getAmountOut(amountIn: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getAmountsIn(amountOut: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
        getAmountsOut(amountIn: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
        quote(amountA: PromiseOrValue<BigNumberish>, reserveA: PromiseOrValue<BigNumberish>, reserveB: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    filters: {
        "SwapBnbForTokens(address,address[],uint256[])"(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null, amounts?: PromiseOrValue<BigNumberish>[] | null): SwapBnbForTokensEventFilter;
        SwapBnbForTokens(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null, amounts?: PromiseOrValue<BigNumberish>[] | null): SwapBnbForTokensEventFilter;
        "SwapBnbForTokensAtSupportingFee(address,address[])"(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null): SwapBnbForTokensAtSupportingFeeEventFilter;
        SwapBnbForTokensAtSupportingFee(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null): SwapBnbForTokensAtSupportingFeeEventFilter;
        "SwapTokensForBnb(address,address[],uint256[])"(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null, amounts?: PromiseOrValue<BigNumberish>[] | null): SwapTokensForBnbEventFilter;
        SwapTokensForBnb(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null, amounts?: PromiseOrValue<BigNumberish>[] | null): SwapTokensForBnbEventFilter;
        "SwapTokensForBnbAtSupportingFee(address,address[])"(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null): SwapTokensForBnbAtSupportingFeeEventFilter;
        SwapTokensForBnbAtSupportingFee(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null): SwapTokensForBnbAtSupportingFeeEventFilter;
        "SwapTokensForTokens(address,address[],uint256[])"(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null, amounts?: PromiseOrValue<BigNumberish>[] | null): SwapTokensForTokensEventFilter;
        SwapTokensForTokens(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null, amounts?: PromiseOrValue<BigNumberish>[] | null): SwapTokensForTokensEventFilter;
        "SwapTokensForTokensAtSupportingFee(address,address[])"(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null): SwapTokensForTokensAtSupportingFeeEventFilter;
        SwapTokensForTokensAtSupportingFee(swapper?: PromiseOrValue<string> | null, path?: PromiseOrValue<string>[] | null): SwapTokensForTokensAtSupportingFeeEventFilter;
    };
    estimateGas: {
        WBNB(overrides?: CallOverrides): Promise<BigNumber>;
        factory(overrides?: CallOverrides): Promise<BigNumber>;
        getAmountIn(amountOut: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getAmountOut(amountIn: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getAmountsIn(amountOut: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber>;
        getAmountsOut(amountIn: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber>;
        quote(amountA: PromiseOrValue<BigNumberish>, reserveA: PromiseOrValue<BigNumberish>, reserveB: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        WBNB(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        factory(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAmountIn(amountOut: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAmountOut(amountIn: PromiseOrValue<BigNumberish>, reserveIn: PromiseOrValue<BigNumberish>, reserveOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAmountsIn(amountOut: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAmountsOut(amountIn: PromiseOrValue<BigNumberish>, path: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
        quote(amountA: PromiseOrValue<BigNumberish>, reserveA: PromiseOrValue<BigNumberish>, reserveB: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
