import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../../../common";
export interface ISuperComposableYieldInterface extends utils.Interface {
    functions: {
        "MIN_LIQUIDITY()": FunctionFragment;
        "assetInfo()": FunctionFragment;
        "deposit(address,address,uint256,uint256)": FunctionFragment;
        "exchangeRateCurrent()": FunctionFragment;
        "exchangeRateStored()": FunctionFragment;
        "getAndUpdateTvl()": FunctionFragment;
        "getBaseTokens()": FunctionFragment;
        "getTvl()": FunctionFragment;
        "getUpdatedUnderlyingBalance(address)": FunctionFragment;
        "isValidBaseToken(address)": FunctionFragment;
        "redeem(address,uint256,address,uint256)": FunctionFragment;
        "sendERC20ToStrategy()": FunctionFragment;
        "sharesToUnderlying(uint256)": FunctionFragment;
        "strategy()": FunctionFragment;
        "underlying()": FunctionFragment;
        "underlyingBalance(address)": FunctionFragment;
        "underlyingToShares(uint256)": FunctionFragment;
        "yieldToken()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "MIN_LIQUIDITY" | "assetInfo" | "deposit" | "exchangeRateCurrent" | "exchangeRateStored" | "getAndUpdateTvl" | "getBaseTokens" | "getTvl" | "getUpdatedUnderlyingBalance" | "isValidBaseToken" | "redeem" | "sendERC20ToStrategy" | "sharesToUnderlying" | "strategy" | "underlying" | "underlyingBalance" | "underlyingToShares" | "yieldToken"): FunctionFragment;
    encodeFunctionData(functionFragment: "MIN_LIQUIDITY", values?: undefined): string;
    encodeFunctionData(functionFragment: "assetInfo", values?: undefined): string;
    encodeFunctionData(functionFragment: "deposit", values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "exchangeRateCurrent", values?: undefined): string;
    encodeFunctionData(functionFragment: "exchangeRateStored", values?: undefined): string;
    encodeFunctionData(functionFragment: "getAndUpdateTvl", values?: undefined): string;
    encodeFunctionData(functionFragment: "getBaseTokens", values?: undefined): string;
    encodeFunctionData(functionFragment: "getTvl", values?: undefined): string;
    encodeFunctionData(functionFragment: "getUpdatedUnderlyingBalance", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "isValidBaseToken", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "redeem", values: [
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "sendERC20ToStrategy", values?: undefined): string;
    encodeFunctionData(functionFragment: "sharesToUnderlying", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "strategy", values?: undefined): string;
    encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
    encodeFunctionData(functionFragment: "underlyingBalance", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "underlyingToShares", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "yieldToken", values?: undefined): string;
    decodeFunctionResult(functionFragment: "MIN_LIQUIDITY", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "assetInfo", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "exchangeRateCurrent", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "exchangeRateStored", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAndUpdateTvl", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getBaseTokens", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getTvl", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getUpdatedUnderlyingBalance", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isValidBaseToken", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sendERC20ToStrategy", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sharesToUnderlying", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "strategy", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "underlyingToShares", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "yieldToken", data: BytesLike): Result;
    events: {
        "Deposit(address,address,address,uint256,uint256)": EventFragment;
        "ExchangeRateUpdated(uint256,uint256)": EventFragment;
        "Redeem(address,address,address,uint256,uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "ExchangeRateUpdated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Redeem"): EventFragment;
}
export interface DepositEventObject {
    caller: string;
    receiver: string;
    tokenIn: string;
    amountDeposited: BigNumber;
    amountScyOut: BigNumber;
}
export type DepositEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber
], DepositEventObject>;
export type DepositEventFilter = TypedEventFilter<DepositEvent>;
export interface ExchangeRateUpdatedEventObject {
    oldExchangeRate: BigNumber;
    newExchangeRate: BigNumber;
}
export type ExchangeRateUpdatedEvent = TypedEvent<[
    BigNumber,
    BigNumber
], ExchangeRateUpdatedEventObject>;
export type ExchangeRateUpdatedEventFilter = TypedEventFilter<ExchangeRateUpdatedEvent>;
export interface RedeemEventObject {
    caller: string;
    receiver: string;
    tokenOut: string;
    amountScyToRedeem: BigNumber;
    amountTokenOut: BigNumber;
}
export type RedeemEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber
], RedeemEventObject>;
export type RedeemEventFilter = TypedEventFilter<RedeemEvent>;
export interface ISuperComposableYield extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: ISuperComposableYieldInterface;
    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: {
        MIN_LIQUIDITY(overrides?: CallOverrides): Promise<[BigNumber]>;
        assetInfo(overrides?: CallOverrides): Promise<[
            number,
            string,
            number
        ] & {
            assetType: number;
            assetAddress: string;
            assetDecimals: number;
        }>;
        deposit(receiver: PromiseOrValue<string>, tokenIn: PromiseOrValue<string>, amountTokenToPull: PromiseOrValue<BigNumberish>, minSharesOut: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        exchangeRateCurrent(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        exchangeRateStored(overrides?: CallOverrides): Promise<[BigNumber] & {
            res: BigNumber;
        }>;
        getAndUpdateTvl(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getBaseTokens(overrides?: CallOverrides): Promise<[string[]] & {
            res: string[];
        }>;
        getTvl(overrides?: CallOverrides): Promise<[BigNumber] & {
            tvl: BigNumber;
        }>;
        getUpdatedUnderlyingBalance(arg0: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        isValidBaseToken(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        redeem(receiver: PromiseOrValue<string>, amountSharesToPull: PromiseOrValue<BigNumberish>, tokenOut: PromiseOrValue<string>, minTokenOut: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        sendERC20ToStrategy(overrides?: CallOverrides): Promise<[boolean]>;
        sharesToUnderlying(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        strategy(overrides?: CallOverrides): Promise<[string]>;
        underlying(overrides?: CallOverrides): Promise<[string]>;
        underlyingBalance(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        underlyingToShares(amnt: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        yieldToken(overrides?: CallOverrides): Promise<[string]>;
    };
    MIN_LIQUIDITY(overrides?: CallOverrides): Promise<BigNumber>;
    assetInfo(overrides?: CallOverrides): Promise<[
        number,
        string,
        number
    ] & {
        assetType: number;
        assetAddress: string;
        assetDecimals: number;
    }>;
    deposit(receiver: PromiseOrValue<string>, tokenIn: PromiseOrValue<string>, amountTokenToPull: PromiseOrValue<BigNumberish>, minSharesOut: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    exchangeRateCurrent(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    exchangeRateStored(overrides?: CallOverrides): Promise<BigNumber>;
    getAndUpdateTvl(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getBaseTokens(overrides?: CallOverrides): Promise<string[]>;
    getTvl(overrides?: CallOverrides): Promise<BigNumber>;
    getUpdatedUnderlyingBalance(arg0: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    isValidBaseToken(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    redeem(receiver: PromiseOrValue<string>, amountSharesToPull: PromiseOrValue<BigNumberish>, tokenOut: PromiseOrValue<string>, minTokenOut: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    sendERC20ToStrategy(overrides?: CallOverrides): Promise<boolean>;
    sharesToUnderlying(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    strategy(overrides?: CallOverrides): Promise<string>;
    underlying(overrides?: CallOverrides): Promise<string>;
    underlyingBalance(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    underlyingToShares(amnt: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    yieldToken(overrides?: CallOverrides): Promise<string>;
    callStatic: {
        MIN_LIQUIDITY(overrides?: CallOverrides): Promise<BigNumber>;
        assetInfo(overrides?: CallOverrides): Promise<[
            number,
            string,
            number
        ] & {
            assetType: number;
            assetAddress: string;
            assetDecimals: number;
        }>;
        deposit(receiver: PromiseOrValue<string>, tokenIn: PromiseOrValue<string>, amountTokenToPull: PromiseOrValue<BigNumberish>, minSharesOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        exchangeRateCurrent(overrides?: CallOverrides): Promise<BigNumber>;
        exchangeRateStored(overrides?: CallOverrides): Promise<BigNumber>;
        getAndUpdateTvl(overrides?: CallOverrides): Promise<BigNumber>;
        getBaseTokens(overrides?: CallOverrides): Promise<string[]>;
        getTvl(overrides?: CallOverrides): Promise<BigNumber>;
        getUpdatedUnderlyingBalance(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        isValidBaseToken(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        redeem(receiver: PromiseOrValue<string>, amountSharesToPull: PromiseOrValue<BigNumberish>, tokenOut: PromiseOrValue<string>, minTokenOut: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        sendERC20ToStrategy(overrides?: CallOverrides): Promise<boolean>;
        sharesToUnderlying(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        strategy(overrides?: CallOverrides): Promise<string>;
        underlying(overrides?: CallOverrides): Promise<string>;
        underlyingBalance(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        underlyingToShares(amnt: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        yieldToken(overrides?: CallOverrides): Promise<string>;
    };
    filters: {
        "Deposit(address,address,address,uint256,uint256)"(caller?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, tokenIn?: PromiseOrValue<string> | null, amountDeposited?: null, amountScyOut?: null): DepositEventFilter;
        Deposit(caller?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, tokenIn?: PromiseOrValue<string> | null, amountDeposited?: null, amountScyOut?: null): DepositEventFilter;
        "ExchangeRateUpdated(uint256,uint256)"(oldExchangeRate?: null, newExchangeRate?: null): ExchangeRateUpdatedEventFilter;
        ExchangeRateUpdated(oldExchangeRate?: null, newExchangeRate?: null): ExchangeRateUpdatedEventFilter;
        "Redeem(address,address,address,uint256,uint256)"(caller?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, tokenOut?: PromiseOrValue<string> | null, amountScyToRedeem?: null, amountTokenOut?: null): RedeemEventFilter;
        Redeem(caller?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, tokenOut?: PromiseOrValue<string> | null, amountScyToRedeem?: null, amountTokenOut?: null): RedeemEventFilter;
    };
    estimateGas: {
        MIN_LIQUIDITY(overrides?: CallOverrides): Promise<BigNumber>;
        assetInfo(overrides?: CallOverrides): Promise<BigNumber>;
        deposit(receiver: PromiseOrValue<string>, tokenIn: PromiseOrValue<string>, amountTokenToPull: PromiseOrValue<BigNumberish>, minSharesOut: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        exchangeRateCurrent(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        exchangeRateStored(overrides?: CallOverrides): Promise<BigNumber>;
        getAndUpdateTvl(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getBaseTokens(overrides?: CallOverrides): Promise<BigNumber>;
        getTvl(overrides?: CallOverrides): Promise<BigNumber>;
        getUpdatedUnderlyingBalance(arg0: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        isValidBaseToken(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        redeem(receiver: PromiseOrValue<string>, amountSharesToPull: PromiseOrValue<BigNumberish>, tokenOut: PromiseOrValue<string>, minTokenOut: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        sendERC20ToStrategy(overrides?: CallOverrides): Promise<BigNumber>;
        sharesToUnderlying(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        strategy(overrides?: CallOverrides): Promise<BigNumber>;
        underlying(overrides?: CallOverrides): Promise<BigNumber>;
        underlyingBalance(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        underlyingToShares(amnt: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        yieldToken(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        MIN_LIQUIDITY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        assetInfo(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        deposit(receiver: PromiseOrValue<string>, tokenIn: PromiseOrValue<string>, amountTokenToPull: PromiseOrValue<BigNumberish>, minSharesOut: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        exchangeRateCurrent(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        exchangeRateStored(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAndUpdateTvl(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getBaseTokens(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getTvl(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getUpdatedUnderlyingBalance(arg0: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        isValidBaseToken(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        redeem(receiver: PromiseOrValue<string>, amountSharesToPull: PromiseOrValue<BigNumberish>, tokenOut: PromiseOrValue<string>, minTokenOut: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        sendERC20ToStrategy(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        sharesToUnderlying(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        strategy(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        underlying(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        underlyingBalance(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        underlyingToShares(amnt: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        yieldToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
