import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 JonesMillinerV2Interface extends utils.Interface {
    functions: {
        'add(uint256,address,bool)': FunctionFragment;
        'addContractAddressToWhitelist(address)': FunctionFragment;
        'compound(uint256)': FunctionFragment;
        'deposit(uint256,uint256)': FunctionFragment;
        'deposited(uint256,address)': FunctionFragment;
        'emergencyWithdraw(uint256)': FunctionFragment;
        'harvest(uint256)': FunctionFragment;
        'hatDistributor()': FunctionFragment;
        'jones()': FunctionFragment;
        'jonesPerSecond()': FunctionFragment;
        'massUpdatePools()': FunctionFragment;
        'migrateRewards(uint256,address)': FunctionFragment;
        'owner()': FunctionFragment;
        'pendingJones(uint256,address)': FunctionFragment;
        'poolExistence(address)': FunctionFragment;
        'poolInfo(uint256)': FunctionFragment;
        'poolLength()': FunctionFragment;
        'removeContractAddressFromWhitelist(address)': FunctionFragment;
        'renounceOwnership()': FunctionFragment;
        'rewardManager()': FunctionFragment;
        'set(uint256,uint256,bool)': FunctionFragment;
        'startTime()': FunctionFragment;
        'totalAllocPoint()': FunctionFragment;
        'transferOwnership(address)': FunctionFragment;
        'updateEmissionRate(uint256)': FunctionFragment;
        'updateHatDistributor(address)': FunctionFragment;
        'updatePool(uint256)': FunctionFragment;
        'updateRewardsManager(address)': FunctionFragment;
        'userInfo(uint256,address)': FunctionFragment;
        'whitelistedContract(address)': FunctionFragment;
        'withdraw(uint256,uint256)': FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: 'add' | 'addContractAddressToWhitelist' | 'compound' | 'deposit' | 'deposited' | 'emergencyWithdraw' | 'harvest' | 'hatDistributor' | 'jones' | 'jonesPerSecond' | 'massUpdatePools' | 'migrateRewards' | 'owner' | 'pendingJones' | 'poolExistence' | 'poolInfo' | 'poolLength' | 'removeContractAddressFromWhitelist' | 'renounceOwnership' | 'rewardManager' | 'set' | 'startTime' | 'totalAllocPoint' | 'transferOwnership' | 'updateEmissionRate' | 'updateHatDistributor' | 'updatePool' | 'updateRewardsManager' | 'userInfo' | 'whitelistedContract' | 'withdraw'): FunctionFragment;
    encodeFunctionData(functionFragment: 'add', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>, PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: 'addContractAddressToWhitelist', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'compound', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'deposit', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'deposited', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'emergencyWithdraw', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'harvest', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'hatDistributor', values?: undefined): string;
    encodeFunctionData(functionFragment: 'jones', values?: undefined): string;
    encodeFunctionData(functionFragment: 'jonesPerSecond', values?: undefined): string;
    encodeFunctionData(functionFragment: 'massUpdatePools', values?: undefined): string;
    encodeFunctionData(functionFragment: 'migrateRewards', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
    encodeFunctionData(functionFragment: 'pendingJones', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'poolExistence', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'poolInfo', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'poolLength', values?: undefined): string;
    encodeFunctionData(functionFragment: 'removeContractAddressFromWhitelist', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
    encodeFunctionData(functionFragment: 'rewardManager', values?: undefined): string;
    encodeFunctionData(functionFragment: 'set', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>, PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: 'startTime', values?: undefined): string;
    encodeFunctionData(functionFragment: 'totalAllocPoint', values?: undefined): string;
    encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'updateEmissionRate', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'updateHatDistributor', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'updatePool', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'updateRewardsManager', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'userInfo', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'whitelistedContract', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'withdraw', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: 'add', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'addContractAddressToWhitelist', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'compound', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'deposited', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'emergencyWithdraw', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'harvest', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'hatDistributor', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'jones', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'jonesPerSecond', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'massUpdatePools', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'migrateRewards', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'pendingJones', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'poolExistence', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'poolInfo', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'poolLength', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'removeContractAddressFromWhitelist', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'rewardManager', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'set', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'startTime', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'totalAllocPoint', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'updateEmissionRate', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'updateHatDistributor', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'updatePool', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'updateRewardsManager', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'userInfo', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'whitelistedContract', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
    events: {
        'Deposit(address,uint256,uint256)': EventFragment;
        'EmergencyWithdraw(address,uint256,uint256)': EventFragment;
        'Harvest(address,uint256,uint256)': EventFragment;
        'NewPool(address,uint256,uint256)': EventFragment;
        'OwnershipTransferred(address,address)': EventFragment;
        'PoolUpdate(uint256,uint256)': EventFragment;
        'SetDevAddress(address,address)': EventFragment;
        'SetFeeAddress(address,address)': EventFragment;
        'UpdateEmissionRate(uint256)': EventFragment;
        'Withdraw(address,uint256,uint256)': EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: 'Deposit'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'EmergencyWithdraw'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'Harvest'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'NewPool'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'PoolUpdate'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'SetDevAddress'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'SetFeeAddress'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'UpdateEmissionRate'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'Withdraw'): EventFragment;
}
export interface DepositEventObject {
    user: string;
    pid: BigNumber;
    amount: BigNumber;
}
export declare type DepositEvent = TypedEvent<[string, BigNumber, BigNumber], DepositEventObject>;
export declare type DepositEventFilter = TypedEventFilter<DepositEvent>;
export interface EmergencyWithdrawEventObject {
    user: string;
    pid: BigNumber;
    amount: BigNumber;
}
export declare type EmergencyWithdrawEvent = TypedEvent<[string, BigNumber, BigNumber], EmergencyWithdrawEventObject>;
export declare type EmergencyWithdrawEventFilter = TypedEventFilter<EmergencyWithdrawEvent>;
export interface HarvestEventObject {
    user: string;
    pid: BigNumber;
    amount: BigNumber;
}
export declare type HarvestEvent = TypedEvent<[string, BigNumber, BigNumber], HarvestEventObject>;
export declare type HarvestEventFilter = TypedEventFilter<HarvestEvent>;
export interface NewPoolEventObject {
    lp: string;
    pid: BigNumber;
    newAlloc: BigNumber;
}
export declare type NewPoolEvent = TypedEvent<[string, BigNumber, BigNumber], NewPoolEventObject>;
export declare type NewPoolEventFilter = TypedEventFilter<NewPoolEvent>;
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export declare type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
export declare type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface PoolUpdateEventObject {
    pid: BigNumber;
    newAlloc: BigNumber;
}
export declare type PoolUpdateEvent = TypedEvent<[BigNumber, BigNumber], PoolUpdateEventObject>;
export declare type PoolUpdateEventFilter = TypedEventFilter<PoolUpdateEvent>;
export interface SetDevAddressEventObject {
    user: string;
    newAddress: string;
}
export declare type SetDevAddressEvent = TypedEvent<[string, string], SetDevAddressEventObject>;
export declare type SetDevAddressEventFilter = TypedEventFilter<SetDevAddressEvent>;
export interface SetFeeAddressEventObject {
    user: string;
    newAddress: string;
}
export declare type SetFeeAddressEvent = TypedEvent<[string, string], SetFeeAddressEventObject>;
export declare type SetFeeAddressEventFilter = TypedEventFilter<SetFeeAddressEvent>;
export interface UpdateEmissionRateEventObject {
    jonesPerSecond: BigNumber;
}
export declare type UpdateEmissionRateEvent = TypedEvent<[BigNumber], UpdateEmissionRateEventObject>;
export declare type UpdateEmissionRateEventFilter = TypedEventFilter<UpdateEmissionRateEvent>;
export interface WithdrawEventObject {
    user: string;
    pid: BigNumber;
    amount: BigNumber;
}
export declare type WithdrawEvent = TypedEvent<[string, BigNumber, BigNumber], WithdrawEventObject>;
export declare type WithdrawEventFilter = TypedEventFilter<WithdrawEvent>;
export interface JonesMillinerV2 extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: JonesMillinerV2Interface;
    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: {
        add(_allocPoint: PromiseOrValue<BigNumberish>, _lpToken: PromiseOrValue<string>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        addContractAddressToWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        compound(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        deposit(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        deposited(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        emergencyWithdraw(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        harvest(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        hatDistributor(overrides?: CallOverrides): Promise<[string]>;
        jones(overrides?: CallOverrides): Promise<[string]>;
        jonesPerSecond(overrides?: CallOverrides): Promise<[BigNumber]>;
        massUpdatePools(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        migrateRewards(_amount: PromiseOrValue<BigNumberish>, _to: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        pendingJones(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        poolExistence(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        poolInfo(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            lpToken: string;
            allocPoint: BigNumber;
            lastRewardSecond: BigNumber;
            accJonesPerShare: BigNumber;
            currentDeposit: BigNumber;
        }>;
        poolLength(overrides?: CallOverrides): Promise<[BigNumber]>;
        removeContractAddressFromWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        rewardManager(overrides?: CallOverrides): Promise<[string]>;
        set(_pid: PromiseOrValue<BigNumberish>, _allocPoint: PromiseOrValue<BigNumberish>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        startTime(overrides?: CallOverrides): Promise<[BigNumber]>;
        totalAllocPoint(overrides?: CallOverrides): Promise<[BigNumber]>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updateEmissionRate(_jonesPerSecond: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updateHatDistributor(_distributor: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updatePool(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updateRewardsManager(_newManager: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            amount: BigNumber;
            rewardDebt: BigNumber;
        }>;
        whitelistedContract(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        withdraw(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    add(_allocPoint: PromiseOrValue<BigNumberish>, _lpToken: PromiseOrValue<string>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    addContractAddressToWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    compound(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    deposit(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    deposited(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    emergencyWithdraw(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    harvest(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    hatDistributor(overrides?: CallOverrides): Promise<string>;
    jones(overrides?: CallOverrides): Promise<string>;
    jonesPerSecond(overrides?: CallOverrides): Promise<BigNumber>;
    massUpdatePools(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    migrateRewards(_amount: PromiseOrValue<BigNumberish>, _to: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    owner(overrides?: CallOverrides): Promise<string>;
    pendingJones(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    poolExistence(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    poolInfo(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber
    ] & {
        lpToken: string;
        allocPoint: BigNumber;
        lastRewardSecond: BigNumber;
        accJonesPerShare: BigNumber;
        currentDeposit: BigNumber;
    }>;
    poolLength(overrides?: CallOverrides): Promise<BigNumber>;
    removeContractAddressFromWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    renounceOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    rewardManager(overrides?: CallOverrides): Promise<string>;
    set(_pid: PromiseOrValue<BigNumberish>, _allocPoint: PromiseOrValue<BigNumberish>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    startTime(overrides?: CallOverrides): Promise<BigNumber>;
    totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>;
    transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updateEmissionRate(_jonesPerSecond: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updateHatDistributor(_distributor: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updatePool(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updateRewardsManager(_newManager: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
        amount: BigNumber;
        rewardDebt: BigNumber;
    }>;
    whitelistedContract(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    withdraw(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        add(_allocPoint: PromiseOrValue<BigNumberish>, _lpToken: PromiseOrValue<string>, _withUpdate: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        addContractAddressToWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        compound(_pid: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        deposit(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        deposited(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        emergencyWithdraw(_pid: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        harvest(_pid: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        hatDistributor(overrides?: CallOverrides): Promise<string>;
        jones(overrides?: CallOverrides): Promise<string>;
        jonesPerSecond(overrides?: CallOverrides): Promise<BigNumber>;
        massUpdatePools(overrides?: CallOverrides): Promise<void>;
        migrateRewards(_amount: PromiseOrValue<BigNumberish>, _to: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        owner(overrides?: CallOverrides): Promise<string>;
        pendingJones(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        poolExistence(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        poolInfo(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            lpToken: string;
            allocPoint: BigNumber;
            lastRewardSecond: BigNumber;
            accJonesPerShare: BigNumber;
            currentDeposit: BigNumber;
        }>;
        poolLength(overrides?: CallOverrides): Promise<BigNumber>;
        removeContractAddressFromWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        rewardManager(overrides?: CallOverrides): Promise<string>;
        set(_pid: PromiseOrValue<BigNumberish>, _allocPoint: PromiseOrValue<BigNumberish>, _withUpdate: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        startTime(overrides?: CallOverrides): Promise<BigNumber>;
        totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        updateEmissionRate(_jonesPerSecond: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        updateHatDistributor(_distributor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        updatePool(_pid: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        updateRewardsManager(_newManager: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            amount: BigNumber;
            rewardDebt: BigNumber;
        }>;
        whitelistedContract(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        withdraw(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        'Deposit(address,uint256,uint256)'(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): DepositEventFilter;
        Deposit(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): DepositEventFilter;
        'EmergencyWithdraw(address,uint256,uint256)'(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): EmergencyWithdrawEventFilter;
        EmergencyWithdraw(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): EmergencyWithdrawEventFilter;
        'Harvest(address,uint256,uint256)'(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): HarvestEventFilter;
        Harvest(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): HarvestEventFilter;
        'NewPool(address,uint256,uint256)'(lp?: null, pid?: null, newAlloc?: null): NewPoolEventFilter;
        NewPool(lp?: null, pid?: null, newAlloc?: null): NewPoolEventFilter;
        'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        'PoolUpdate(uint256,uint256)'(pid?: null, newAlloc?: null): PoolUpdateEventFilter;
        PoolUpdate(pid?: null, newAlloc?: null): PoolUpdateEventFilter;
        'SetDevAddress(address,address)'(user?: PromiseOrValue<string> | null, newAddress?: PromiseOrValue<string> | null): SetDevAddressEventFilter;
        SetDevAddress(user?: PromiseOrValue<string> | null, newAddress?: PromiseOrValue<string> | null): SetDevAddressEventFilter;
        'SetFeeAddress(address,address)'(user?: PromiseOrValue<string> | null, newAddress?: PromiseOrValue<string> | null): SetFeeAddressEventFilter;
        SetFeeAddress(user?: PromiseOrValue<string> | null, newAddress?: PromiseOrValue<string> | null): SetFeeAddressEventFilter;
        'UpdateEmissionRate(uint256)'(jonesPerSecond?: null): UpdateEmissionRateEventFilter;
        UpdateEmissionRate(jonesPerSecond?: null): UpdateEmissionRateEventFilter;
        'Withdraw(address,uint256,uint256)'(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): WithdrawEventFilter;
        Withdraw(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null): WithdrawEventFilter;
    };
    estimateGas: {
        add(_allocPoint: PromiseOrValue<BigNumberish>, _lpToken: PromiseOrValue<string>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        addContractAddressToWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        compound(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        deposit(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        deposited(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        emergencyWithdraw(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        harvest(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        hatDistributor(overrides?: CallOverrides): Promise<BigNumber>;
        jones(overrides?: CallOverrides): Promise<BigNumber>;
        jonesPerSecond(overrides?: CallOverrides): Promise<BigNumber>;
        massUpdatePools(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        migrateRewards(_amount: PromiseOrValue<BigNumberish>, _to: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        pendingJones(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        poolExistence(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        poolInfo(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        poolLength(overrides?: CallOverrides): Promise<BigNumber>;
        removeContractAddressFromWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        rewardManager(overrides?: CallOverrides): Promise<BigNumber>;
        set(_pid: PromiseOrValue<BigNumberish>, _allocPoint: PromiseOrValue<BigNumberish>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        startTime(overrides?: CallOverrides): Promise<BigNumber>;
        totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updateEmissionRate(_jonesPerSecond: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updateHatDistributor(_distributor: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updatePool(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updateRewardsManager(_newManager: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        whitelistedContract(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        withdraw(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        add(_allocPoint: PromiseOrValue<BigNumberish>, _lpToken: PromiseOrValue<string>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        addContractAddressToWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        compound(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        deposit(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        deposited(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        emergencyWithdraw(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        harvest(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        hatDistributor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        jones(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        jonesPerSecond(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        massUpdatePools(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        migrateRewards(_amount: PromiseOrValue<BigNumberish>, _to: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pendingJones(_pid: PromiseOrValue<BigNumberish>, _user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        poolExistence(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        poolInfo(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        poolLength(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        removeContractAddressFromWhitelist(_contractAddress: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        rewardManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        set(_pid: PromiseOrValue<BigNumberish>, _allocPoint: PromiseOrValue<BigNumberish>, _withUpdate: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        startTime(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalAllocPoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updateEmissionRate(_jonesPerSecond: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updateHatDistributor(_distributor: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updatePool(_pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updateRewardsManager(_newManager: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        whitelistedContract(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        withdraw(_pid: PromiseOrValue<BigNumberish>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
