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 } from "./common";
export interface PoolRolesAuthorityInterface extends utils.Interface {
    functions: {
        "BORROWER_ROLE()": FunctionFragment;
        "LEVERED_POSITION_ROLE()": FunctionFragment;
        "LIQUIDATOR_ROLE()": FunctionFragment;
        "REGISTRY_ROLE()": FunctionFragment;
        "SUPPLIER_ROLE()": FunctionFragment;
        "authority()": FunctionFragment;
        "canCall(address,address,bytes4)": FunctionFragment;
        "closePoolBorrowerCapabilities(address)": FunctionFragment;
        "closePoolSupplierCapabilities(address)": FunctionFragment;
        "configureClosedPoolLiquidatorCapabilities(address)": FunctionFragment;
        "configureLeveredPositionCapabilities(address)": FunctionFragment;
        "configureOpenPoolLiquidatorCapabilities(address)": FunctionFragment;
        "configurePoolBorrowerCapabilities(address)": FunctionFragment;
        "configurePoolSupplierCapabilities(address)": FunctionFragment;
        "configureRegistryCapabilities()": FunctionFragment;
        "doesRoleHaveCapability(uint8,address,bytes4)": FunctionFragment;
        "doesUserHaveRole(address,uint8)": FunctionFragment;
        "getRolesWithCapability(address,bytes4)": FunctionFragment;
        "getUserRoles(address)": FunctionFragment;
        "initialize(address)": FunctionFragment;
        "isCapabilityPublic(address,bytes4)": FunctionFragment;
        "openPoolBorrowerCapabilities(address)": FunctionFragment;
        "openPoolSupplierCapabilities(address)": FunctionFragment;
        "owner()": FunctionFragment;
        "setAuthority(address)": FunctionFragment;
        "setOwner(address)": FunctionFragment;
        "setPublicCapability(address,bytes4,bool)": FunctionFragment;
        "setRoleCapability(uint8,address,bytes4,bool)": FunctionFragment;
        "setUserRole(address,uint8,bool)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "BORROWER_ROLE" | "LEVERED_POSITION_ROLE" | "LIQUIDATOR_ROLE" | "REGISTRY_ROLE" | "SUPPLIER_ROLE" | "authority" | "canCall" | "closePoolBorrowerCapabilities" | "closePoolSupplierCapabilities" | "configureClosedPoolLiquidatorCapabilities" | "configureLeveredPositionCapabilities" | "configureOpenPoolLiquidatorCapabilities" | "configurePoolBorrowerCapabilities" | "configurePoolSupplierCapabilities" | "configureRegistryCapabilities" | "doesRoleHaveCapability" | "doesUserHaveRole" | "getRolesWithCapability" | "getUserRoles" | "initialize" | "isCapabilityPublic" | "openPoolBorrowerCapabilities" | "openPoolSupplierCapabilities" | "owner" | "setAuthority" | "setOwner" | "setPublicCapability" | "setRoleCapability" | "setUserRole"): FunctionFragment;
    encodeFunctionData(functionFragment: "BORROWER_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "LEVERED_POSITION_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "LIQUIDATOR_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "REGISTRY_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "SUPPLIER_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "authority", values?: undefined): string;
    encodeFunctionData(functionFragment: "canCall", values: [string, string, BytesLike]): string;
    encodeFunctionData(functionFragment: "closePoolBorrowerCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "closePoolSupplierCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "configureClosedPoolLiquidatorCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "configureLeveredPositionCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "configureOpenPoolLiquidatorCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "configurePoolBorrowerCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "configurePoolSupplierCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "configureRegistryCapabilities", values?: undefined): string;
    encodeFunctionData(functionFragment: "doesRoleHaveCapability", values: [BigNumberish, string, BytesLike]): string;
    encodeFunctionData(functionFragment: "doesUserHaveRole", values: [string, BigNumberish]): string;
    encodeFunctionData(functionFragment: "getRolesWithCapability", values: [string, BytesLike]): string;
    encodeFunctionData(functionFragment: "getUserRoles", values: [string]): string;
    encodeFunctionData(functionFragment: "initialize", values: [string]): string;
    encodeFunctionData(functionFragment: "isCapabilityPublic", values: [string, BytesLike]): string;
    encodeFunctionData(functionFragment: "openPoolBorrowerCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "openPoolSupplierCapabilities", values: [string]): string;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "setAuthority", values: [string]): string;
    encodeFunctionData(functionFragment: "setOwner", values: [string]): string;
    encodeFunctionData(functionFragment: "setPublicCapability", values: [string, BytesLike, boolean]): string;
    encodeFunctionData(functionFragment: "setRoleCapability", values: [BigNumberish, string, BytesLike, boolean]): string;
    encodeFunctionData(functionFragment: "setUserRole", values: [string, BigNumberish, boolean]): string;
    decodeFunctionResult(functionFragment: "BORROWER_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "LEVERED_POSITION_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "LIQUIDATOR_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "REGISTRY_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "SUPPLIER_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "canCall", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "closePoolBorrowerCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "closePoolSupplierCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "configureClosedPoolLiquidatorCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "configureLeveredPositionCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "configureOpenPoolLiquidatorCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "configurePoolBorrowerCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "configurePoolSupplierCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "configureRegistryCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "doesRoleHaveCapability", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "doesUserHaveRole", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getRolesWithCapability", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getUserRoles", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isCapabilityPublic", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "openPoolBorrowerCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "openPoolSupplierCapabilities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setOwner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setPublicCapability", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setRoleCapability", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setUserRole", data: BytesLike): Result;
    events: {
        "AuthorityUpdated(address,address)": EventFragment;
        "Initialized(uint8)": EventFragment;
        "OwnerUpdated(address,address)": EventFragment;
        "PublicCapabilityUpdated(address,bytes4,bool)": EventFragment;
        "RoleCapabilityUpdated(uint8,address,bytes4,bool)": EventFragment;
        "UserRoleUpdated(address,uint8,bool)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "AuthorityUpdated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnerUpdated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "PublicCapabilityUpdated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RoleCapabilityUpdated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "UserRoleUpdated"): EventFragment;
}
export interface AuthorityUpdatedEventObject {
    user: string;
    newAuthority: string;
}
export type AuthorityUpdatedEvent = TypedEvent<[
    string,
    string
], AuthorityUpdatedEventObject>;
export type AuthorityUpdatedEventFilter = TypedEventFilter<AuthorityUpdatedEvent>;
export interface InitializedEventObject {
    version: number;
}
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
export interface OwnerUpdatedEventObject {
    user: string;
    newOwner: string;
}
export type OwnerUpdatedEvent = TypedEvent<[
    string,
    string
], OwnerUpdatedEventObject>;
export type OwnerUpdatedEventFilter = TypedEventFilter<OwnerUpdatedEvent>;
export interface PublicCapabilityUpdatedEventObject {
    target: string;
    functionSig: string;
    enabled: boolean;
}
export type PublicCapabilityUpdatedEvent = TypedEvent<[
    string,
    string,
    boolean
], PublicCapabilityUpdatedEventObject>;
export type PublicCapabilityUpdatedEventFilter = TypedEventFilter<PublicCapabilityUpdatedEvent>;
export interface RoleCapabilityUpdatedEventObject {
    role: number;
    target: string;
    functionSig: string;
    enabled: boolean;
}
export type RoleCapabilityUpdatedEvent = TypedEvent<[
    number,
    string,
    string,
    boolean
], RoleCapabilityUpdatedEventObject>;
export type RoleCapabilityUpdatedEventFilter = TypedEventFilter<RoleCapabilityUpdatedEvent>;
export interface UserRoleUpdatedEventObject {
    user: string;
    role: number;
    enabled: boolean;
}
export type UserRoleUpdatedEvent = TypedEvent<[
    string,
    number,
    boolean
], UserRoleUpdatedEventObject>;
export type UserRoleUpdatedEventFilter = TypedEventFilter<UserRoleUpdatedEvent>;
export interface PoolRolesAuthority extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: PoolRolesAuthorityInterface;
    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: {
        BORROWER_ROLE(overrides?: CallOverrides): Promise<[number]>;
        LEVERED_POSITION_ROLE(overrides?: CallOverrides): Promise<[number]>;
        LIQUIDATOR_ROLE(overrides?: CallOverrides): Promise<[number]>;
        REGISTRY_ROLE(overrides?: CallOverrides): Promise<[number]>;
        SUPPLIER_ROLE(overrides?: CallOverrides): Promise<[number]>;
        authority(overrides?: CallOverrides): Promise<[string]>;
        canCall(user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
        closePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        closePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        configureClosedPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        configureLeveredPositionCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        configureOpenPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        configurePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        configurePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        configureRegistryCapabilities(overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        doesRoleHaveCapability(role: BigNumberish, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
        doesUserHaveRole(user: string, role: BigNumberish, overrides?: CallOverrides): Promise<[boolean]>;
        getRolesWithCapability(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<[string]>;
        getUserRoles(arg0: string, overrides?: CallOverrides): Promise<[string]>;
        initialize(_owner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        isCapabilityPublic(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
        openPoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        openPoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        setAuthority(newAuthority: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setOwner(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setPublicCapability(target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setRoleCapability(role: BigNumberish, target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setUserRole(user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    };
    BORROWER_ROLE(overrides?: CallOverrides): Promise<number>;
    LEVERED_POSITION_ROLE(overrides?: CallOverrides): Promise<number>;
    LIQUIDATOR_ROLE(overrides?: CallOverrides): Promise<number>;
    REGISTRY_ROLE(overrides?: CallOverrides): Promise<number>;
    SUPPLIER_ROLE(overrides?: CallOverrides): Promise<number>;
    authority(overrides?: CallOverrides): Promise<string>;
    canCall(user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    closePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    closePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    configureClosedPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    configureLeveredPositionCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    configureOpenPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    configurePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    configurePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    configureRegistryCapabilities(overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    doesRoleHaveCapability(role: BigNumberish, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    doesUserHaveRole(user: string, role: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
    getRolesWithCapability(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<string>;
    getUserRoles(arg0: string, overrides?: CallOverrides): Promise<string>;
    initialize(_owner: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    isCapabilityPublic(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    openPoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    openPoolSupplierCapabilities(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    owner(overrides?: CallOverrides): Promise<string>;
    setAuthority(newAuthority: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setOwner(newOwner: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setPublicCapability(target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setRoleCapability(role: BigNumberish, target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setUserRole(user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    callStatic: {
        BORROWER_ROLE(overrides?: CallOverrides): Promise<number>;
        LEVERED_POSITION_ROLE(overrides?: CallOverrides): Promise<number>;
        LIQUIDATOR_ROLE(overrides?: CallOverrides): Promise<number>;
        REGISTRY_ROLE(overrides?: CallOverrides): Promise<number>;
        SUPPLIER_ROLE(overrides?: CallOverrides): Promise<number>;
        authority(overrides?: CallOverrides): Promise<string>;
        canCall(user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<boolean>;
        closePoolBorrowerCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        closePoolSupplierCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        configureClosedPoolLiquidatorCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        configureLeveredPositionCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        configureOpenPoolLiquidatorCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        configurePoolBorrowerCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        configurePoolSupplierCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        configureRegistryCapabilities(overrides?: CallOverrides): Promise<void>;
        doesRoleHaveCapability(role: BigNumberish, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<boolean>;
        doesUserHaveRole(user: string, role: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
        getRolesWithCapability(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<string>;
        getUserRoles(arg0: string, overrides?: CallOverrides): Promise<string>;
        initialize(_owner: string, overrides?: CallOverrides): Promise<void>;
        isCapabilityPublic(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<boolean>;
        openPoolBorrowerCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        openPoolSupplierCapabilities(pool: string, overrides?: CallOverrides): Promise<void>;
        owner(overrides?: CallOverrides): Promise<string>;
        setAuthority(newAuthority: string, overrides?: CallOverrides): Promise<void>;
        setOwner(newOwner: string, overrides?: CallOverrides): Promise<void>;
        setPublicCapability(target: string, functionSig: BytesLike, enabled: boolean, overrides?: CallOverrides): Promise<void>;
        setRoleCapability(role: BigNumberish, target: string, functionSig: BytesLike, enabled: boolean, overrides?: CallOverrides): Promise<void>;
        setUserRole(user: string, role: BigNumberish, enabled: boolean, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "AuthorityUpdated(address,address)"(user?: string | null, newAuthority?: string | null): AuthorityUpdatedEventFilter;
        AuthorityUpdated(user?: string | null, newAuthority?: string | null): AuthorityUpdatedEventFilter;
        "Initialized(uint8)"(version?: null): InitializedEventFilter;
        Initialized(version?: null): InitializedEventFilter;
        "OwnerUpdated(address,address)"(user?: string | null, newOwner?: string | null): OwnerUpdatedEventFilter;
        OwnerUpdated(user?: string | null, newOwner?: string | null): OwnerUpdatedEventFilter;
        "PublicCapabilityUpdated(address,bytes4,bool)"(target?: string | null, functionSig?: BytesLike | null, enabled?: null): PublicCapabilityUpdatedEventFilter;
        PublicCapabilityUpdated(target?: string | null, functionSig?: BytesLike | null, enabled?: null): PublicCapabilityUpdatedEventFilter;
        "RoleCapabilityUpdated(uint8,address,bytes4,bool)"(role?: BigNumberish | null, target?: string | null, functionSig?: BytesLike | null, enabled?: null): RoleCapabilityUpdatedEventFilter;
        RoleCapabilityUpdated(role?: BigNumberish | null, target?: string | null, functionSig?: BytesLike | null, enabled?: null): RoleCapabilityUpdatedEventFilter;
        "UserRoleUpdated(address,uint8,bool)"(user?: string | null, role?: BigNumberish | null, enabled?: null): UserRoleUpdatedEventFilter;
        UserRoleUpdated(user?: string | null, role?: BigNumberish | null, enabled?: null): UserRoleUpdatedEventFilter;
    };
    estimateGas: {
        BORROWER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        LEVERED_POSITION_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        LIQUIDATOR_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        REGISTRY_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        SUPPLIER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        authority(overrides?: CallOverrides): Promise<BigNumber>;
        canCall(user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        closePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        closePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        configureClosedPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        configureLeveredPositionCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        configureOpenPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        configurePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        configurePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        configureRegistryCapabilities(overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        doesRoleHaveCapability(role: BigNumberish, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        doesUserHaveRole(user: string, role: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
        getRolesWithCapability(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        getUserRoles(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        initialize(_owner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        isCapabilityPublic(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        openPoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        openPoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        setAuthority(newAuthority: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setOwner(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setPublicCapability(target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setRoleCapability(role: BigNumberish, target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setUserRole(user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        BORROWER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        LEVERED_POSITION_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        LIQUIDATOR_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        REGISTRY_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        SUPPLIER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        authority(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        canCall(user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        closePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        closePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        configureClosedPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        configureLeveredPositionCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        configureOpenPoolLiquidatorCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        configurePoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        configurePoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        configureRegistryCapabilities(overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        doesRoleHaveCapability(role: BigNumberish, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        doesUserHaveRole(user: string, role: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getRolesWithCapability(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getUserRoles(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        initialize(_owner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        isCapabilityPublic(arg0: string, arg1: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        openPoolBorrowerCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        openPoolSupplierCapabilities(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        setAuthority(newAuthority: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setOwner(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setPublicCapability(target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setRoleCapability(role: BigNumberish, target: string, functionSig: BytesLike, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setUserRole(user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    };
}
