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 SushiswapKashiLendingTokenInterface extends utils.Interface {
    functions: {
        'DOMAIN_SEPARATOR()': FunctionFragment;
        'accrue()': FunctionFragment;
        'accrueInfo()': FunctionFragment;
        'addAsset(address,bool,uint256)': FunctionFragment;
        'addCollateral(address,bool,uint256)': FunctionFragment;
        'allowance(address,address)': FunctionFragment;
        'approve(address,uint256)': FunctionFragment;
        'asset()': FunctionFragment;
        'balanceOf(address)': FunctionFragment;
        'bentoBox()': FunctionFragment;
        'borrow(address,uint256)': FunctionFragment;
        'claimOwnership()': FunctionFragment;
        'collateral()': FunctionFragment;
        'cook(uint8[],uint256[],bytes[])': FunctionFragment;
        'decimals()': FunctionFragment;
        'exchangeRate()': FunctionFragment;
        'feeTo()': FunctionFragment;
        'init(bytes)': FunctionFragment;
        'liquidate(address[],uint256[],address,address,bool)': FunctionFragment;
        'masterContract()': FunctionFragment;
        'name()': FunctionFragment;
        'nonces(address)': FunctionFragment;
        'oracle()': FunctionFragment;
        'oracleData()': FunctionFragment;
        'owner()': FunctionFragment;
        'pendingOwner()': FunctionFragment;
        'permit(address,address,uint256,uint256,uint8,bytes32,bytes32)': FunctionFragment;
        'removeAsset(address,uint256)': FunctionFragment;
        'removeCollateral(address,uint256)': FunctionFragment;
        'repay(address,bool,uint256)': FunctionFragment;
        'setFeeTo(address)': FunctionFragment;
        'setSwapper(address,bool)': FunctionFragment;
        'swappers(address)': FunctionFragment;
        'symbol()': FunctionFragment;
        'totalAsset()': FunctionFragment;
        'totalBorrow()': FunctionFragment;
        'totalCollateralShare()': FunctionFragment;
        'totalSupply()': FunctionFragment;
        'transfer(address,uint256)': FunctionFragment;
        'transferFrom(address,address,uint256)': FunctionFragment;
        'transferOwnership(address,bool,bool)': FunctionFragment;
        'updateExchangeRate()': FunctionFragment;
        'userBorrowPart(address)': FunctionFragment;
        'userCollateralShare(address)': FunctionFragment;
        'withdrawFees()': FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: 'DOMAIN_SEPARATOR' | 'accrue' | 'accrueInfo' | 'addAsset' | 'addCollateral' | 'allowance' | 'approve' | 'asset' | 'balanceOf' | 'bentoBox' | 'borrow' | 'claimOwnership' | 'collateral' | 'cook' | 'decimals' | 'exchangeRate' | 'feeTo' | 'init' | 'liquidate' | 'masterContract' | 'name' | 'nonces' | 'oracle' | 'oracleData' | 'owner' | 'pendingOwner' | 'permit' | 'removeAsset' | 'removeCollateral' | 'repay' | 'setFeeTo' | 'setSwapper' | 'swappers' | 'symbol' | 'totalAsset' | 'totalBorrow' | 'totalCollateralShare' | 'totalSupply' | 'transfer' | 'transferFrom' | 'transferOwnership' | 'updateExchangeRate' | 'userBorrowPart' | 'userCollateralShare' | 'withdrawFees'): FunctionFragment;
    encodeFunctionData(functionFragment: 'DOMAIN_SEPARATOR', values?: undefined): string;
    encodeFunctionData(functionFragment: 'accrue', values?: undefined): string;
    encodeFunctionData(functionFragment: 'accrueInfo', values?: undefined): string;
    encodeFunctionData(functionFragment: 'addAsset', values: [PromiseOrValue<string>, PromiseOrValue<boolean>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'addCollateral', values: [PromiseOrValue<string>, PromiseOrValue<boolean>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'allowance', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'approve', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'asset', values?: undefined): string;
    encodeFunctionData(functionFragment: 'balanceOf', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'bentoBox', values?: undefined): string;
    encodeFunctionData(functionFragment: 'borrow', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'claimOwnership', values?: undefined): string;
    encodeFunctionData(functionFragment: 'collateral', values?: undefined): string;
    encodeFunctionData(functionFragment: 'cook', values: [PromiseOrValue<BigNumberish>[], PromiseOrValue<BigNumberish>[], PromiseOrValue<BytesLike>[]]): string;
    encodeFunctionData(functionFragment: 'decimals', values?: undefined): string;
    encodeFunctionData(functionFragment: 'exchangeRate', values?: undefined): string;
    encodeFunctionData(functionFragment: 'feeTo', values?: undefined): string;
    encodeFunctionData(functionFragment: 'init', values: [PromiseOrValue<BytesLike>]): string;
    encodeFunctionData(functionFragment: 'liquidate', values: [
        PromiseOrValue<string>[],
        PromiseOrValue<BigNumberish>[],
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<boolean>
    ]): string;
    encodeFunctionData(functionFragment: 'masterContract', values?: undefined): string;
    encodeFunctionData(functionFragment: 'name', values?: undefined): string;
    encodeFunctionData(functionFragment: 'nonces', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'oracle', values?: undefined): string;
    encodeFunctionData(functionFragment: 'oracleData', values?: undefined): string;
    encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
    encodeFunctionData(functionFragment: 'pendingOwner', values?: undefined): string;
    encodeFunctionData(functionFragment: 'permit', values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BytesLike>,
        PromiseOrValue<BytesLike>
    ]): string;
    encodeFunctionData(functionFragment: 'removeAsset', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'removeCollateral', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'repay', values: [PromiseOrValue<string>, PromiseOrValue<boolean>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'setFeeTo', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'setSwapper', values: [PromiseOrValue<string>, PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: 'swappers', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'symbol', values?: undefined): string;
    encodeFunctionData(functionFragment: 'totalAsset', values?: undefined): string;
    encodeFunctionData(functionFragment: 'totalBorrow', values?: undefined): string;
    encodeFunctionData(functionFragment: 'totalCollateralShare', values?: undefined): string;
    encodeFunctionData(functionFragment: 'totalSupply', values?: undefined): string;
    encodeFunctionData(functionFragment: 'transfer', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'transferFrom', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>, PromiseOrValue<boolean>, PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: 'updateExchangeRate', values?: undefined): string;
    encodeFunctionData(functionFragment: 'userBorrowPart', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'userCollateralShare', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'withdrawFees', values?: undefined): string;
    decodeFunctionResult(functionFragment: 'DOMAIN_SEPARATOR', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'accrue', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'accrueInfo', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'addAsset', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'addCollateral', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'allowance', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'approve', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'asset', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'balanceOf', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'bentoBox', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'borrow', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'claimOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'collateral', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'cook', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'decimals', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'exchangeRate', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'feeTo', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'init', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'liquidate', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'masterContract', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'name', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'nonces', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'oracle', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'oracleData', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'pendingOwner', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'permit', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'removeAsset', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'removeCollateral', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'repay', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'setFeeTo', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'setSwapper', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'swappers', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'symbol', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'totalAsset', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'totalBorrow', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'totalCollateralShare', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'totalSupply', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'transfer', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'transferFrom', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'updateExchangeRate', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'userBorrowPart', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'userCollateralShare', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'withdrawFees', data: BytesLike): Result;
    events: {
        'Approval(address,address,uint256)': EventFragment;
        'LogAccrue(uint256,uint256,uint64,uint256)': EventFragment;
        'LogAddAsset(address,address,uint256,uint256)': EventFragment;
        'LogAddCollateral(address,address,uint256)': EventFragment;
        'LogBorrow(address,address,uint256,uint256,uint256)': EventFragment;
        'LogExchangeRate(uint256)': EventFragment;
        'LogFeeTo(address)': EventFragment;
        'LogRemoveAsset(address,address,uint256,uint256)': EventFragment;
        'LogRemoveCollateral(address,address,uint256)': EventFragment;
        'LogRepay(address,address,uint256,uint256)': EventFragment;
        'LogWithdrawFees(address,uint256)': EventFragment;
        'OwnershipTransferred(address,address)': EventFragment;
        'Transfer(address,address,uint256)': EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: 'Approval'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogAccrue'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogAddAsset'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogAddCollateral'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogBorrow'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogExchangeRate'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogFeeTo'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogRemoveAsset'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogRemoveCollateral'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogRepay'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'LogWithdrawFees'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'Transfer'): EventFragment;
}
export interface ApprovalEventObject {
    _owner: string;
    _spender: string;
    _value: BigNumber;
}
export declare type ApprovalEvent = TypedEvent<[string, string, BigNumber], ApprovalEventObject>;
export declare type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
export interface LogAccrueEventObject {
    accruedAmount: BigNumber;
    feeFraction: BigNumber;
    rate: BigNumber;
    utilization: BigNumber;
}
export declare type LogAccrueEvent = TypedEvent<[BigNumber, BigNumber, BigNumber, BigNumber], LogAccrueEventObject>;
export declare type LogAccrueEventFilter = TypedEventFilter<LogAccrueEvent>;
export interface LogAddAssetEventObject {
    from: string;
    to: string;
    share: BigNumber;
    fraction: BigNumber;
}
export declare type LogAddAssetEvent = TypedEvent<[string, string, BigNumber, BigNumber], LogAddAssetEventObject>;
export declare type LogAddAssetEventFilter = TypedEventFilter<LogAddAssetEvent>;
export interface LogAddCollateralEventObject {
    from: string;
    to: string;
    share: BigNumber;
}
export declare type LogAddCollateralEvent = TypedEvent<[string, string, BigNumber], LogAddCollateralEventObject>;
export declare type LogAddCollateralEventFilter = TypedEventFilter<LogAddCollateralEvent>;
export interface LogBorrowEventObject {
    from: string;
    to: string;
    amount: BigNumber;
    feeAmount: BigNumber;
    part: BigNumber;
}
export declare type LogBorrowEvent = TypedEvent<[string, string, BigNumber, BigNumber, BigNumber], LogBorrowEventObject>;
export declare type LogBorrowEventFilter = TypedEventFilter<LogBorrowEvent>;
export interface LogExchangeRateEventObject {
    rate: BigNumber;
}
export declare type LogExchangeRateEvent = TypedEvent<[BigNumber], LogExchangeRateEventObject>;
export declare type LogExchangeRateEventFilter = TypedEventFilter<LogExchangeRateEvent>;
export interface LogFeeToEventObject {
    newFeeTo: string;
}
export declare type LogFeeToEvent = TypedEvent<[string], LogFeeToEventObject>;
export declare type LogFeeToEventFilter = TypedEventFilter<LogFeeToEvent>;
export interface LogRemoveAssetEventObject {
    from: string;
    to: string;
    share: BigNumber;
    fraction: BigNumber;
}
export declare type LogRemoveAssetEvent = TypedEvent<[string, string, BigNumber, BigNumber], LogRemoveAssetEventObject>;
export declare type LogRemoveAssetEventFilter = TypedEventFilter<LogRemoveAssetEvent>;
export interface LogRemoveCollateralEventObject {
    from: string;
    to: string;
    share: BigNumber;
}
export declare type LogRemoveCollateralEvent = TypedEvent<[string, string, BigNumber], LogRemoveCollateralEventObject>;
export declare type LogRemoveCollateralEventFilter = TypedEventFilter<LogRemoveCollateralEvent>;
export interface LogRepayEventObject {
    from: string;
    to: string;
    amount: BigNumber;
    part: BigNumber;
}
export declare type LogRepayEvent = TypedEvent<[string, string, BigNumber, BigNumber], LogRepayEventObject>;
export declare type LogRepayEventFilter = TypedEventFilter<LogRepayEvent>;
export interface LogWithdrawFeesEventObject {
    feeTo: string;
    feesEarnedFraction: BigNumber;
}
export declare type LogWithdrawFeesEvent = TypedEvent<[string, BigNumber], LogWithdrawFeesEventObject>;
export declare type LogWithdrawFeesEventFilter = TypedEventFilter<LogWithdrawFeesEvent>;
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export declare type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
export declare type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface TransferEventObject {
    _from: string;
    _to: string;
    _value: BigNumber;
}
export declare type TransferEvent = TypedEvent<[string, string, BigNumber], TransferEventObject>;
export declare type TransferEventFilter = TypedEventFilter<TransferEvent>;
export interface SushiswapKashiLendingToken extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: SushiswapKashiLendingTokenInterface;
    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: {
        DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>;
        accrue(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        accrueInfo(overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            interestPerSecond: BigNumber;
            lastAccrued: BigNumber;
            feesEarnedFraction: BigNumber;
        }>;
        addAsset(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        addCollateral(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        asset(overrides?: CallOverrides): Promise<[string]>;
        balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        bentoBox(overrides?: CallOverrides): Promise<[string]>;
        borrow(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        claimOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        collateral(overrides?: CallOverrides): Promise<[string]>;
        cook(actions: PromiseOrValue<BigNumberish>[], values: PromiseOrValue<BigNumberish>[], datas: PromiseOrValue<BytesLike>[], overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        decimals(overrides?: CallOverrides): Promise<[number]>;
        exchangeRate(overrides?: CallOverrides): Promise<[BigNumber]>;
        feeTo(overrides?: CallOverrides): Promise<[string]>;
        init(data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        liquidate(users: PromiseOrValue<string>[], maxBorrowParts: PromiseOrValue<BigNumberish>[], to: PromiseOrValue<string>, swapper: PromiseOrValue<string>, open: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        masterContract(overrides?: CallOverrides): Promise<[string]>;
        name(overrides?: CallOverrides): Promise<[string]>;
        nonces(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        oracle(overrides?: CallOverrides): Promise<[string]>;
        oracleData(overrides?: CallOverrides): Promise<[string]>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        pendingOwner(overrides?: CallOverrides): Promise<[string]>;
        permit(owner_: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        removeAsset(to: PromiseOrValue<string>, fraction: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        removeCollateral(to: PromiseOrValue<string>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        repay(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, part: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setFeeTo(newFeeTo: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setSwapper(swapper: PromiseOrValue<string>, enable: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        swappers(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        symbol(overrides?: CallOverrides): Promise<[string]>;
        totalAsset(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            elastic: BigNumber;
            base: BigNumber;
        }>;
        totalBorrow(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            elastic: BigNumber;
            base: BigNumber;
        }>;
        totalCollateralShare(overrides?: CallOverrides): Promise<[BigNumber]>;
        totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
        transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, direct: PromiseOrValue<boolean>, renounce: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updateExchangeRate(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        userBorrowPart(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        userCollateralShare(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        withdrawFees(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>;
    accrue(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    accrueInfo(overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber,
        BigNumber
    ] & {
        interestPerSecond: BigNumber;
        lastAccrued: BigNumber;
        feesEarnedFraction: BigNumber;
    }>;
    addAsset(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    addCollateral(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    asset(overrides?: CallOverrides): Promise<string>;
    balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    bentoBox(overrides?: CallOverrides): Promise<string>;
    borrow(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    claimOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    collateral(overrides?: CallOverrides): Promise<string>;
    cook(actions: PromiseOrValue<BigNumberish>[], values: PromiseOrValue<BigNumberish>[], datas: PromiseOrValue<BytesLike>[], overrides?: PayableOverrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    decimals(overrides?: CallOverrides): Promise<number>;
    exchangeRate(overrides?: CallOverrides): Promise<BigNumber>;
    feeTo(overrides?: CallOverrides): Promise<string>;
    init(data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    liquidate(users: PromiseOrValue<string>[], maxBorrowParts: PromiseOrValue<BigNumberish>[], to: PromiseOrValue<string>, swapper: PromiseOrValue<string>, open: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    masterContract(overrides?: CallOverrides): Promise<string>;
    name(overrides?: CallOverrides): Promise<string>;
    nonces(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    oracle(overrides?: CallOverrides): Promise<string>;
    oracleData(overrides?: CallOverrides): Promise<string>;
    owner(overrides?: CallOverrides): Promise<string>;
    pendingOwner(overrides?: CallOverrides): Promise<string>;
    permit(owner_: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    removeAsset(to: PromiseOrValue<string>, fraction: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    removeCollateral(to: PromiseOrValue<string>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    repay(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, part: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setFeeTo(newFeeTo: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setSwapper(swapper: PromiseOrValue<string>, enable: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    swappers(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    symbol(overrides?: CallOverrides): Promise<string>;
    totalAsset(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
        elastic: BigNumber;
        base: BigNumber;
    }>;
    totalBorrow(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
        elastic: BigNumber;
        base: BigNumber;
    }>;
    totalCollateralShare(overrides?: CallOverrides): Promise<BigNumber>;
    totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
    transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    transferOwnership(newOwner: PromiseOrValue<string>, direct: PromiseOrValue<boolean>, renounce: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updateExchangeRate(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    userBorrowPart(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    userCollateralShare(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    withdrawFees(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<string>;
        accrue(overrides?: CallOverrides): Promise<void>;
        accrueInfo(overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            interestPerSecond: BigNumber;
            lastAccrued: BigNumber;
            feesEarnedFraction: BigNumber;
        }>;
        addAsset(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        addCollateral(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
        asset(overrides?: CallOverrides): Promise<string>;
        balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        bentoBox(overrides?: CallOverrides): Promise<string>;
        borrow(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            part: BigNumber;
            share: BigNumber;
        }>;
        claimOwnership(overrides?: CallOverrides): Promise<void>;
        collateral(overrides?: CallOverrides): Promise<string>;
        cook(actions: PromiseOrValue<BigNumberish>[], values: PromiseOrValue<BigNumberish>[], datas: PromiseOrValue<BytesLike>[], overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            value1: BigNumber;
            value2: BigNumber;
        }>;
        decimals(overrides?: CallOverrides): Promise<number>;
        exchangeRate(overrides?: CallOverrides): Promise<BigNumber>;
        feeTo(overrides?: CallOverrides): Promise<string>;
        init(data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
        liquidate(users: PromiseOrValue<string>[], maxBorrowParts: PromiseOrValue<BigNumberish>[], to: PromiseOrValue<string>, swapper: PromiseOrValue<string>, open: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        masterContract(overrides?: CallOverrides): Promise<string>;
        name(overrides?: CallOverrides): Promise<string>;
        nonces(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        oracle(overrides?: CallOverrides): Promise<string>;
        oracleData(overrides?: CallOverrides): Promise<string>;
        owner(overrides?: CallOverrides): Promise<string>;
        pendingOwner(overrides?: CallOverrides): Promise<string>;
        permit(owner_: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
        removeAsset(to: PromiseOrValue<string>, fraction: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        removeCollateral(to: PromiseOrValue<string>, share: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        repay(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, part: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        setFeeTo(newFeeTo: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        setSwapper(swapper: PromiseOrValue<string>, enable: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        swappers(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        symbol(overrides?: CallOverrides): Promise<string>;
        totalAsset(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            elastic: BigNumber;
            base: BigNumber;
        }>;
        totalBorrow(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            elastic: BigNumber;
            base: BigNumber;
        }>;
        totalCollateralShare(overrides?: CallOverrides): Promise<BigNumber>;
        totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
        transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
        transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
        transferOwnership(newOwner: PromiseOrValue<string>, direct: PromiseOrValue<boolean>, renounce: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        updateExchangeRate(overrides?: CallOverrides): Promise<[boolean, BigNumber] & {
            updated: boolean;
            rate: BigNumber;
        }>;
        userBorrowPart(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        userCollateralShare(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        withdrawFees(overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        'Approval(address,address,uint256)'(_owner?: PromiseOrValue<string> | null, _spender?: PromiseOrValue<string> | null, _value?: null): ApprovalEventFilter;
        Approval(_owner?: PromiseOrValue<string> | null, _spender?: PromiseOrValue<string> | null, _value?: null): ApprovalEventFilter;
        'LogAccrue(uint256,uint256,uint64,uint256)'(accruedAmount?: null, feeFraction?: null, rate?: null, utilization?: null): LogAccrueEventFilter;
        LogAccrue(accruedAmount?: null, feeFraction?: null, rate?: null, utilization?: null): LogAccrueEventFilter;
        'LogAddAsset(address,address,uint256,uint256)'(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null, fraction?: null): LogAddAssetEventFilter;
        LogAddAsset(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null, fraction?: null): LogAddAssetEventFilter;
        'LogAddCollateral(address,address,uint256)'(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null): LogAddCollateralEventFilter;
        LogAddCollateral(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null): LogAddCollateralEventFilter;
        'LogBorrow(address,address,uint256,uint256,uint256)'(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, amount?: null, feeAmount?: null, part?: null): LogBorrowEventFilter;
        LogBorrow(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, amount?: null, feeAmount?: null, part?: null): LogBorrowEventFilter;
        'LogExchangeRate(uint256)'(rate?: null): LogExchangeRateEventFilter;
        LogExchangeRate(rate?: null): LogExchangeRateEventFilter;
        'LogFeeTo(address)'(newFeeTo?: PromiseOrValue<string> | null): LogFeeToEventFilter;
        LogFeeTo(newFeeTo?: PromiseOrValue<string> | null): LogFeeToEventFilter;
        'LogRemoveAsset(address,address,uint256,uint256)'(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null, fraction?: null): LogRemoveAssetEventFilter;
        LogRemoveAsset(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null, fraction?: null): LogRemoveAssetEventFilter;
        'LogRemoveCollateral(address,address,uint256)'(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null): LogRemoveCollateralEventFilter;
        LogRemoveCollateral(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, share?: null): LogRemoveCollateralEventFilter;
        'LogRepay(address,address,uint256,uint256)'(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, amount?: null, part?: null): LogRepayEventFilter;
        LogRepay(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null, amount?: null, part?: null): LogRepayEventFilter;
        'LogWithdrawFees(address,uint256)'(feeTo?: PromiseOrValue<string> | null, feesEarnedFraction?: null): LogWithdrawFeesEventFilter;
        LogWithdrawFees(feeTo?: PromiseOrValue<string> | null, feesEarnedFraction?: null): LogWithdrawFeesEventFilter;
        'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        'Transfer(address,address,uint256)'(_from?: PromiseOrValue<string> | null, _to?: PromiseOrValue<string> | null, _value?: null): TransferEventFilter;
        Transfer(_from?: PromiseOrValue<string> | null, _to?: PromiseOrValue<string> | null, _value?: null): TransferEventFilter;
    };
    estimateGas: {
        DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<BigNumber>;
        accrue(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        accrueInfo(overrides?: CallOverrides): Promise<BigNumber>;
        addAsset(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        addCollateral(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        asset(overrides?: CallOverrides): Promise<BigNumber>;
        balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        bentoBox(overrides?: CallOverrides): Promise<BigNumber>;
        borrow(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        claimOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        collateral(overrides?: CallOverrides): Promise<BigNumber>;
        cook(actions: PromiseOrValue<BigNumberish>[], values: PromiseOrValue<BigNumberish>[], datas: PromiseOrValue<BytesLike>[], overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        decimals(overrides?: CallOverrides): Promise<BigNumber>;
        exchangeRate(overrides?: CallOverrides): Promise<BigNumber>;
        feeTo(overrides?: CallOverrides): Promise<BigNumber>;
        init(data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        liquidate(users: PromiseOrValue<string>[], maxBorrowParts: PromiseOrValue<BigNumberish>[], to: PromiseOrValue<string>, swapper: PromiseOrValue<string>, open: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        masterContract(overrides?: CallOverrides): Promise<BigNumber>;
        name(overrides?: CallOverrides): Promise<BigNumber>;
        nonces(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        oracle(overrides?: CallOverrides): Promise<BigNumber>;
        oracleData(overrides?: CallOverrides): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
        permit(owner_: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        removeAsset(to: PromiseOrValue<string>, fraction: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        removeCollateral(to: PromiseOrValue<string>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        repay(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, part: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setFeeTo(newFeeTo: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setSwapper(swapper: PromiseOrValue<string>, enable: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        swappers(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        symbol(overrides?: CallOverrides): Promise<BigNumber>;
        totalAsset(overrides?: CallOverrides): Promise<BigNumber>;
        totalBorrow(overrides?: CallOverrides): Promise<BigNumber>;
        totalCollateralShare(overrides?: CallOverrides): Promise<BigNumber>;
        totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
        transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, direct: PromiseOrValue<boolean>, renounce: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updateExchangeRate(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        userBorrowPart(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        userCollateralShare(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        withdrawFees(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        accrue(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        accrueInfo(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        addAsset(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        addCollateral(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        asset(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        bentoBox(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        borrow(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        claimOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        collateral(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        cook(actions: PromiseOrValue<BigNumberish>[], values: PromiseOrValue<BigNumberish>[], datas: PromiseOrValue<BytesLike>[], overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        exchangeRate(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        feeTo(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        init(data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        liquidate(users: PromiseOrValue<string>[], maxBorrowParts: PromiseOrValue<BigNumberish>[], to: PromiseOrValue<string>, swapper: PromiseOrValue<string>, open: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        masterContract(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        nonces(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        oracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        oracleData(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        permit(owner_: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        removeAsset(to: PromiseOrValue<string>, fraction: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        removeCollateral(to: PromiseOrValue<string>, share: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        repay(to: PromiseOrValue<string>, skim: PromiseOrValue<boolean>, part: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setFeeTo(newFeeTo: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setSwapper(swapper: PromiseOrValue<string>, enable: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        swappers(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalAsset(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalBorrow(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalCollateralShare(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, direct: PromiseOrValue<boolean>, renounce: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updateExchangeRate(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        userBorrowPart(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        userCollateralShare(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        withdrawFees(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
