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, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
export interface IPrimeInterface extends utils.Interface {
    functions: {
        "accrueInterest(address)": FunctionFragment;
        "getAllMarkets()": FunctionFragment;
        "updateAssetsState(address,address)": FunctionFragment;
        "vTokenForAsset(address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "accrueInterest" | "getAllMarkets" | "updateAssetsState" | "vTokenForAsset"): FunctionFragment;
    encodeFunctionData(functionFragment: "accrueInterest", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "getAllMarkets", values?: undefined): string;
    encodeFunctionData(functionFragment: "updateAssetsState", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "vTokenForAsset", values: [PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAllMarkets", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "updateAssetsState", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "vTokenForAsset", data: BytesLike): Result;
    events: {};
}
export interface IPrime extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IPrimeInterface;
    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: {
        accrueInterest(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getAllMarkets(overrides?: CallOverrides): Promise<[string[]]>;
        updateAssetsState(comptroller: PromiseOrValue<string>, asset: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        vTokenForAsset(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
    };
    accrueInterest(vToken: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getAllMarkets(overrides?: CallOverrides): Promise<string[]>;
    updateAssetsState(comptroller: PromiseOrValue<string>, asset: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    vTokenForAsset(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
    callStatic: {
        accrueInterest(vToken: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        getAllMarkets(overrides?: CallOverrides): Promise<string[]>;
        updateAssetsState(comptroller: PromiseOrValue<string>, asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        vTokenForAsset(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
    };
    filters: {};
    estimateGas: {
        accrueInterest(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getAllMarkets(overrides?: CallOverrides): Promise<BigNumber>;
        updateAssetsState(comptroller: PromiseOrValue<string>, asset: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        vTokenForAsset(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        accrueInterest(vToken: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getAllMarkets(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        updateAssetsState(comptroller: PromiseOrValue<string>, asset: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        vTokenForAsset(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
