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 declare namespace FusePoolDirectory {
    type FusePoolStruct = {
        name: PromiseOrValue<string>;
        creator: PromiseOrValue<string>;
        comptroller: PromiseOrValue<string>;
        blockPosted: PromiseOrValue<BigNumberish>;
        timestampPosted: PromiseOrValue<BigNumberish>;
    };
    type FusePoolStructOutput = [string, string, string, BigNumber, BigNumber] & {
        name: string;
        creator: string;
        comptroller: string;
        blockPosted: BigNumber;
        timestampPosted: BigNumber;
    };
}
export interface RariFusePoolsDirectoryInterface extends utils.Interface {
    functions: {
        'deployerWhitelist(address)': FunctionFragment;
        'enforceDeployerWhitelist()': FunctionFragment;
        'owner()': FunctionFragment;
        'poolExists(address)': FunctionFragment;
        'pools(uint256)': FunctionFragment;
        'renounceOwnership()': FunctionFragment;
        'transferOwnership(address)': FunctionFragment;
        'initialize(bool,address[])': FunctionFragment;
        '_setDeployerWhitelistEnforcement(bool)': FunctionFragment;
        '_whitelistDeployers(address[])': FunctionFragment;
        'registerPool(string,address)': FunctionFragment;
        'deployPool(string,address,bool,uint256,uint256,uint256,address)': FunctionFragment;
        'getAllPools()': FunctionFragment;
        'getPublicPools()': FunctionFragment;
        'getPoolsByAccount(address)': FunctionFragment;
        'getBookmarks(address)': FunctionFragment;
        'bookmarkPool(address)': FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: 'deployerWhitelist' | 'enforceDeployerWhitelist' | 'owner' | 'poolExists' | 'pools' | 'renounceOwnership' | 'transferOwnership' | 'initialize' | '_setDeployerWhitelistEnforcement' | '_whitelistDeployers' | 'registerPool' | 'deployPool' | 'getAllPools' | 'getPublicPools' | 'getPoolsByAccount' | 'getBookmarks' | 'bookmarkPool'): FunctionFragment;
    encodeFunctionData(functionFragment: 'deployerWhitelist', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'enforceDeployerWhitelist', values?: undefined): string;
    encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
    encodeFunctionData(functionFragment: 'poolExists', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'pools', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
    encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'initialize', values: [PromiseOrValue<boolean>, PromiseOrValue<string>[]]): string;
    encodeFunctionData(functionFragment: '_setDeployerWhitelistEnforcement', values: [PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: '_whitelistDeployers', values: [PromiseOrValue<string>[]]): string;
    encodeFunctionData(functionFragment: 'registerPool', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'deployPool', values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<boolean>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<string>
    ]): string;
    encodeFunctionData(functionFragment: 'getAllPools', values?: undefined): string;
    encodeFunctionData(functionFragment: 'getPublicPools', values?: undefined): string;
    encodeFunctionData(functionFragment: 'getPoolsByAccount', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'getBookmarks', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'bookmarkPool', values: [PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: 'deployerWhitelist', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'enforceDeployerWhitelist', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'poolExists', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'pools', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: '_setDeployerWhitelistEnforcement', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: '_whitelistDeployers', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'registerPool', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'deployPool', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'getAllPools', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'getPublicPools', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'getPoolsByAccount', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'getBookmarks', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'bookmarkPool', data: BytesLike): Result;
    events: {
        'OwnershipTransferred(address,address)': EventFragment;
        'PoolRegistered(uint256,tuple)': EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'PoolRegistered'): EventFragment;
}
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export declare type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
export declare type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface PoolRegisteredEventObject {
    index: BigNumber;
    pool: FusePoolDirectory.FusePoolStructOutput;
}
export declare type PoolRegisteredEvent = TypedEvent<[
    BigNumber,
    FusePoolDirectory.FusePoolStructOutput
], PoolRegisteredEventObject>;
export declare type PoolRegisteredEventFilter = TypedEventFilter<PoolRegisteredEvent>;
export interface RariFusePoolsDirectory extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: RariFusePoolsDirectoryInterface;
    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: {
        deployerWhitelist(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        enforceDeployerWhitelist(overrides?: CallOverrides): Promise<[boolean]>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        poolExists(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        pools(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            string,
            string,
            BigNumber,
            BigNumber
        ] & {
            name: string;
            creator: string;
            comptroller: string;
            blockPosted: BigNumber;
            timestampPosted: BigNumber;
        }>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        initialize(_enforceDeployerWhitelist: PromiseOrValue<boolean>, _deployerWhitelist: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        _setDeployerWhitelistEnforcement(_enforceDeployerWhitelist: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        _whitelistDeployers(deployers: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        registerPool(name: PromiseOrValue<string>, comptroller: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        deployPool(name: PromiseOrValue<string>, implementation: PromiseOrValue<string>, enforceWhitelist: PromiseOrValue<boolean>, closeFactor: PromiseOrValue<BigNumberish>, maxAssets: PromiseOrValue<BigNumberish>, liquidationIncentive: PromiseOrValue<BigNumberish>, priceOracle: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getAllPools(overrides?: CallOverrides): Promise<[FusePoolDirectory.FusePoolStructOutput[]]>;
        getPublicPools(overrides?: CallOverrides): Promise<[BigNumber[], FusePoolDirectory.FusePoolStructOutput[]]>;
        getPoolsByAccount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber[], FusePoolDirectory.FusePoolStructOutput[]]>;
        getBookmarks(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string[]]>;
        bookmarkPool(comptroller: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    deployerWhitelist(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    enforceDeployerWhitelist(overrides?: CallOverrides): Promise<boolean>;
    owner(overrides?: CallOverrides): Promise<string>;
    poolExists(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    pools(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        string,
        string,
        string,
        BigNumber,
        BigNumber
    ] & {
        name: string;
        creator: string;
        comptroller: string;
        blockPosted: BigNumber;
        timestampPosted: BigNumber;
    }>;
    renounceOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    initialize(_enforceDeployerWhitelist: PromiseOrValue<boolean>, _deployerWhitelist: PromiseOrValue<string>[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    _setDeployerWhitelistEnforcement(_enforceDeployerWhitelist: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    _whitelistDeployers(deployers: PromiseOrValue<string>[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    registerPool(name: PromiseOrValue<string>, comptroller: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    deployPool(name: PromiseOrValue<string>, implementation: PromiseOrValue<string>, enforceWhitelist: PromiseOrValue<boolean>, closeFactor: PromiseOrValue<BigNumberish>, maxAssets: PromiseOrValue<BigNumberish>, liquidationIncentive: PromiseOrValue<BigNumberish>, priceOracle: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getAllPools(overrides?: CallOverrides): Promise<FusePoolDirectory.FusePoolStructOutput[]>;
    getPublicPools(overrides?: CallOverrides): Promise<[BigNumber[], FusePoolDirectory.FusePoolStructOutput[]]>;
    getPoolsByAccount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber[], FusePoolDirectory.FusePoolStructOutput[]]>;
    getBookmarks(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string[]>;
    bookmarkPool(comptroller: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        deployerWhitelist(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        enforceDeployerWhitelist(overrides?: CallOverrides): Promise<boolean>;
        owner(overrides?: CallOverrides): Promise<string>;
        poolExists(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        pools(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            string,
            string,
            BigNumber,
            BigNumber
        ] & {
            name: string;
            creator: string;
            comptroller: string;
            blockPosted: BigNumber;
            timestampPosted: BigNumber;
        }>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        initialize(_enforceDeployerWhitelist: PromiseOrValue<boolean>, _deployerWhitelist: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<void>;
        _setDeployerWhitelistEnforcement(_enforceDeployerWhitelist: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        _whitelistDeployers(deployers: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<void>;
        registerPool(name: PromiseOrValue<string>, comptroller: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        deployPool(name: PromiseOrValue<string>, implementation: PromiseOrValue<string>, enforceWhitelist: PromiseOrValue<boolean>, closeFactor: PromiseOrValue<BigNumberish>, maxAssets: PromiseOrValue<BigNumberish>, liquidationIncentive: PromiseOrValue<BigNumberish>, priceOracle: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, string]>;
        getAllPools(overrides?: CallOverrides): Promise<FusePoolDirectory.FusePoolStructOutput[]>;
        getPublicPools(overrides?: CallOverrides): Promise<[BigNumber[], FusePoolDirectory.FusePoolStructOutput[]]>;
        getPoolsByAccount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber[], FusePoolDirectory.FusePoolStructOutput[]]>;
        getBookmarks(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string[]>;
        bookmarkPool(comptroller: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        'PoolRegistered(uint256,tuple)'(index?: null, pool?: null): PoolRegisteredEventFilter;
        PoolRegistered(index?: null, pool?: null): PoolRegisteredEventFilter;
    };
    estimateGas: {
        deployerWhitelist(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        enforceDeployerWhitelist(overrides?: CallOverrides): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        poolExists(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        pools(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        initialize(_enforceDeployerWhitelist: PromiseOrValue<boolean>, _deployerWhitelist: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        _setDeployerWhitelistEnforcement(_enforceDeployerWhitelist: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        _whitelistDeployers(deployers: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        registerPool(name: PromiseOrValue<string>, comptroller: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        deployPool(name: PromiseOrValue<string>, implementation: PromiseOrValue<string>, enforceWhitelist: PromiseOrValue<boolean>, closeFactor: PromiseOrValue<BigNumberish>, maxAssets: PromiseOrValue<BigNumberish>, liquidationIncentive: PromiseOrValue<BigNumberish>, priceOracle: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getAllPools(overrides?: CallOverrides): Promise<BigNumber>;
        getPublicPools(overrides?: CallOverrides): Promise<BigNumber>;
        getPoolsByAccount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        getBookmarks(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        bookmarkPool(comptroller: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        deployerWhitelist(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        enforceDeployerWhitelist(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        poolExists(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pools(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        initialize(_enforceDeployerWhitelist: PromiseOrValue<boolean>, _deployerWhitelist: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        _setDeployerWhitelistEnforcement(_enforceDeployerWhitelist: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        _whitelistDeployers(deployers: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        registerPool(name: PromiseOrValue<string>, comptroller: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        deployPool(name: PromiseOrValue<string>, implementation: PromiseOrValue<string>, enforceWhitelist: PromiseOrValue<boolean>, closeFactor: PromiseOrValue<BigNumberish>, maxAssets: PromiseOrValue<BigNumberish>, liquidationIncentive: PromiseOrValue<BigNumberish>, priceOracle: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getAllPools(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPublicPools(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPoolsByAccount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getBookmarks(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        bookmarkPool(comptroller: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
