import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
export interface TwoKinksInterestRateModelInterface extends utils.Interface {
    functions: {
        "BASE_RATE_2_PER_BLOCK()": FunctionFragment;
        "BASE_RATE_PER_BLOCK()": FunctionFragment;
        "BLOCKS_PER_YEAR()": FunctionFragment;
        "JUMP_MULTIPLIER_PER_BLOCK()": FunctionFragment;
        "KINK_1()": FunctionFragment;
        "KINK_2()": FunctionFragment;
        "MULTIPLIER_2_PER_BLOCK()": FunctionFragment;
        "MULTIPLIER_PER_BLOCK()": FunctionFragment;
        "RATE_1()": FunctionFragment;
        "RATE_2()": FunctionFragment;
        "getBorrowRate(uint256,uint256,uint256)": FunctionFragment;
        "getSupplyRate(uint256,uint256,uint256,uint256)": FunctionFragment;
        "isInterestRateModel()": FunctionFragment;
        "utilizationRate(uint256,uint256,uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "BASE_RATE_2_PER_BLOCK" | "BASE_RATE_PER_BLOCK" | "BLOCKS_PER_YEAR" | "JUMP_MULTIPLIER_PER_BLOCK" | "KINK_1" | "KINK_2" | "MULTIPLIER_2_PER_BLOCK" | "MULTIPLIER_PER_BLOCK" | "RATE_1" | "RATE_2" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "utilizationRate"): FunctionFragment;
    encodeFunctionData(functionFragment: "BASE_RATE_2_PER_BLOCK", values?: undefined): string;
    encodeFunctionData(functionFragment: "BASE_RATE_PER_BLOCK", values?: undefined): string;
    encodeFunctionData(functionFragment: "BLOCKS_PER_YEAR", values?: undefined): string;
    encodeFunctionData(functionFragment: "JUMP_MULTIPLIER_PER_BLOCK", values?: undefined): string;
    encodeFunctionData(functionFragment: "KINK_1", values?: undefined): string;
    encodeFunctionData(functionFragment: "KINK_2", values?: undefined): string;
    encodeFunctionData(functionFragment: "MULTIPLIER_2_PER_BLOCK", values?: undefined): string;
    encodeFunctionData(functionFragment: "MULTIPLIER_PER_BLOCK", values?: undefined): string;
    encodeFunctionData(functionFragment: "RATE_1", values?: undefined): string;
    encodeFunctionData(functionFragment: "RATE_2", values?: undefined): string;
    encodeFunctionData(functionFragment: "getBorrowRate", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "getSupplyRate", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
    encodeFunctionData(functionFragment: "utilizationRate", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    decodeFunctionResult(functionFragment: "BASE_RATE_2_PER_BLOCK", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "BASE_RATE_PER_BLOCK", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "BLOCKS_PER_YEAR", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "JUMP_MULTIPLIER_PER_BLOCK", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "KINK_1", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "KINK_2", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "MULTIPLIER_2_PER_BLOCK", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "MULTIPLIER_PER_BLOCK", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "RATE_1", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "RATE_2", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "utilizationRate", data: BytesLike): Result;
    events: {};
}
export interface TwoKinksInterestRateModel extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: TwoKinksInterestRateModelInterface;
    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: {
        BASE_RATE_2_PER_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
        BASE_RATE_PER_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
        BLOCKS_PER_YEAR(overrides?: CallOverrides): Promise<[BigNumber]>;
        JUMP_MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
        KINK_1(overrides?: CallOverrides): Promise<[BigNumber]>;
        KINK_2(overrides?: CallOverrides): Promise<[BigNumber]>;
        MULTIPLIER_2_PER_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
        MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
        RATE_1(overrides?: CallOverrides): Promise<[BigNumber]>;
        RATE_2(overrides?: CallOverrides): Promise<[BigNumber]>;
        getBorrowRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        getSupplyRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, reserveFactorMantissa: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        isInterestRateModel(overrides?: CallOverrides): Promise<[boolean]>;
        utilizationRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
    };
    BASE_RATE_2_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
    BASE_RATE_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
    BLOCKS_PER_YEAR(overrides?: CallOverrides): Promise<BigNumber>;
    JUMP_MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
    KINK_1(overrides?: CallOverrides): Promise<BigNumber>;
    KINK_2(overrides?: CallOverrides): Promise<BigNumber>;
    MULTIPLIER_2_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
    MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
    RATE_1(overrides?: CallOverrides): Promise<BigNumber>;
    RATE_2(overrides?: CallOverrides): Promise<BigNumber>;
    getBorrowRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    getSupplyRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, reserveFactorMantissa: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    isInterestRateModel(overrides?: CallOverrides): Promise<boolean>;
    utilizationRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    callStatic: {
        BASE_RATE_2_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        BASE_RATE_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        BLOCKS_PER_YEAR(overrides?: CallOverrides): Promise<BigNumber>;
        JUMP_MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        KINK_1(overrides?: CallOverrides): Promise<BigNumber>;
        KINK_2(overrides?: CallOverrides): Promise<BigNumber>;
        MULTIPLIER_2_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        RATE_1(overrides?: CallOverrides): Promise<BigNumber>;
        RATE_2(overrides?: CallOverrides): Promise<BigNumber>;
        getBorrowRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getSupplyRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, reserveFactorMantissa: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        isInterestRateModel(overrides?: CallOverrides): Promise<boolean>;
        utilizationRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    filters: {};
    estimateGas: {
        BASE_RATE_2_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        BASE_RATE_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        BLOCKS_PER_YEAR(overrides?: CallOverrides): Promise<BigNumber>;
        JUMP_MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        KINK_1(overrides?: CallOverrides): Promise<BigNumber>;
        KINK_2(overrides?: CallOverrides): Promise<BigNumber>;
        MULTIPLIER_2_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
        RATE_1(overrides?: CallOverrides): Promise<BigNumber>;
        RATE_2(overrides?: CallOverrides): Promise<BigNumber>;
        getBorrowRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getSupplyRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, reserveFactorMantissa: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        isInterestRateModel(overrides?: CallOverrides): Promise<BigNumber>;
        utilizationRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        BASE_RATE_2_PER_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        BASE_RATE_PER_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        BLOCKS_PER_YEAR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        JUMP_MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        KINK_1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        KINK_2(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        MULTIPLIER_2_PER_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        MULTIPLIER_PER_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        RATE_1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        RATE_2(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getBorrowRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getSupplyRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, reserveFactorMantissa: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isInterestRateModel(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        utilizationRate(cash: PromiseOrValue<BigNumberish>, borrows: PromiseOrValue<BigNumberish>, reserves: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
