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, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
export interface IMarketFacetInterface extends utils.Interface {
    functions: {
        "_supportMarket(address)": FunctionFragment;
        "checkMembership(address,address)": FunctionFragment;
        "enterMarkets(address[])": FunctionFragment;
        "exitMarket(address)": FunctionFragment;
        "getAllMarkets()": FunctionFragment;
        "getAssetsIn(address)": FunctionFragment;
        "isComptroller()": FunctionFragment;
        "liquidateCalculateSeizeTokens(address,address,uint256)": FunctionFragment;
        "liquidateVAICalculateSeizeTokens(address,uint256)": FunctionFragment;
        "unlistMarket(address)": FunctionFragment;
        "updateDelegate(address,bool)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "_supportMarket" | "checkMembership" | "enterMarkets" | "exitMarket" | "getAllMarkets" | "getAssetsIn" | "isComptroller" | "liquidateCalculateSeizeTokens" | "liquidateVAICalculateSeizeTokens" | "unlistMarket" | "updateDelegate"): FunctionFragment;
    encodeFunctionData(functionFragment: "_supportMarket", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "checkMembership", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "enterMarkets", values: [PromiseOrValue<string>[]]): string;
    encodeFunctionData(functionFragment: "exitMarket", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "getAllMarkets", values?: undefined): string;
    encodeFunctionData(functionFragment: "getAssetsIn", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "isComptroller", values?: undefined): string;
    encodeFunctionData(functionFragment: "liquidateCalculateSeizeTokens", values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "liquidateVAICalculateSeizeTokens", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "unlistMarket", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "updateDelegate", values: [PromiseOrValue<string>, PromiseOrValue<boolean>]): string;
    decodeFunctionResult(functionFragment: "_supportMarket", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "checkMembership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "enterMarkets", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "exitMarket", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAllMarkets", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAssetsIn", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isComptroller", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "liquidateCalculateSeizeTokens", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "liquidateVAICalculateSeizeTokens", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "unlistMarket", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "updateDelegate", data: BytesLike): Result;
    events: {};
}
export interface IMarketFacet extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IMarketFacetInterface;
    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: {
        _supportMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        checkMembership(account: PromiseOrValue<string>, vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        enterMarkets(vTokens: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        exitMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getAllMarkets(overrides?: CallOverrides): Promise<[string[]]>;
        getAssetsIn(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string[]]>;
        isComptroller(overrides?: CallOverrides): Promise<[boolean]>;
        liquidateCalculateSeizeTokens(vTokenBorrowed: PromiseOrValue<string>, vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        liquidateVAICalculateSeizeTokens(vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        unlistMarket(market: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updateDelegate(delegate: PromiseOrValue<string>, allowBorrows: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    _supportMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    checkMembership(account: PromiseOrValue<string>, vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    enterMarkets(vTokens: PromiseOrValue<string>[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    exitMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getAllMarkets(overrides?: CallOverrides): Promise<string[]>;
    getAssetsIn(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string[]>;
    isComptroller(overrides?: CallOverrides): Promise<boolean>;
    liquidateCalculateSeizeTokens(vTokenBorrowed: PromiseOrValue<string>, vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
    liquidateVAICalculateSeizeTokens(vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
    unlistMarket(market: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updateDelegate(delegate: PromiseOrValue<string>, allowBorrows: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        _supportMarket(vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        checkMembership(account: PromiseOrValue<string>, vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        enterMarkets(vTokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
        exitMarket(vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        getAllMarkets(overrides?: CallOverrides): Promise<string[]>;
        getAssetsIn(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string[]>;
        isComptroller(overrides?: CallOverrides): Promise<boolean>;
        liquidateCalculateSeizeTokens(vTokenBorrowed: PromiseOrValue<string>, vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        liquidateVAICalculateSeizeTokens(vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        unlistMarket(market: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        updateDelegate(delegate: PromiseOrValue<string>, allowBorrows: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {};
    estimateGas: {
        _supportMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        checkMembership(account: PromiseOrValue<string>, vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        enterMarkets(vTokens: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        exitMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getAllMarkets(overrides?: CallOverrides): Promise<BigNumber>;
        getAssetsIn(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        isComptroller(overrides?: CallOverrides): Promise<BigNumber>;
        liquidateCalculateSeizeTokens(vTokenBorrowed: PromiseOrValue<string>, vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        liquidateVAICalculateSeizeTokens(vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        unlistMarket(market: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updateDelegate(delegate: PromiseOrValue<string>, allowBorrows: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        _supportMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        checkMembership(account: PromiseOrValue<string>, vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        enterMarkets(vTokens: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        exitMarket(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getAllMarkets(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAssetsIn(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isComptroller(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        liquidateCalculateSeizeTokens(vTokenBorrowed: PromiseOrValue<string>, vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        liquidateVAICalculateSeizeTokens(vTokenCollateral: PromiseOrValue<string>, actualRepayAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        unlistMarket(market: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updateDelegate(delegate: PromiseOrValue<string>, allowBorrows: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
