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 AuthoritiesRegistryInterface extends utils.Interface {
    functions: {
        "_acceptOwner()": FunctionFragment;
        "_setPendingOwner(address)": FunctionFragment;
        "canCall(address,address,address,bytes4)": FunctionFragment;
        "createPoolAuthority(address)": FunctionFragment;
        "initialize(address)": FunctionFragment;
        "leveredPositionsFactory()": FunctionFragment;
        "noAuthRequired()": FunctionFragment;
        "owner()": FunctionFragment;
        "pendingOwner()": FunctionFragment;
        "poolAuthLogic()": FunctionFragment;
        "poolsAuthorities(address)": FunctionFragment;
        "reconfigureAuthority(address)": FunctionFragment;
        "reinitialize(address)": FunctionFragment;
        "renounceOwnership()": FunctionFragment;
        "setUserRole(address,address,uint8,bool)": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "_acceptOwner" | "_setPendingOwner" | "canCall" | "createPoolAuthority" | "initialize" | "leveredPositionsFactory" | "noAuthRequired" | "owner" | "pendingOwner" | "poolAuthLogic" | "poolsAuthorities" | "reconfigureAuthority" | "reinitialize" | "renounceOwnership" | "setUserRole" | "transferOwnership"): FunctionFragment;
    encodeFunctionData(functionFragment: "_acceptOwner", values?: undefined): string;
    encodeFunctionData(functionFragment: "_setPendingOwner", values: [string]): string;
    encodeFunctionData(functionFragment: "canCall", values: [string, string, string, BytesLike]): string;
    encodeFunctionData(functionFragment: "createPoolAuthority", values: [string]): string;
    encodeFunctionData(functionFragment: "initialize", values: [string]): string;
    encodeFunctionData(functionFragment: "leveredPositionsFactory", values?: undefined): string;
    encodeFunctionData(functionFragment: "noAuthRequired", values?: undefined): string;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
    encodeFunctionData(functionFragment: "poolAuthLogic", values?: undefined): string;
    encodeFunctionData(functionFragment: "poolsAuthorities", values: [string]): string;
    encodeFunctionData(functionFragment: "reconfigureAuthority", values: [string]): string;
    encodeFunctionData(functionFragment: "reinitialize", values: [string]): string;
    encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "setUserRole", values: [string, string, BigNumberish, boolean]): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [string]): string;
    decodeFunctionResult(functionFragment: "_acceptOwner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "_setPendingOwner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "canCall", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "createPoolAuthority", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "leveredPositionsFactory", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "noAuthRequired", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "poolAuthLogic", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "poolsAuthorities", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "reconfigureAuthority", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "reinitialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setUserRole", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    events: {
        "Initialized(uint8)": EventFragment;
        "NewOwner(address,address)": EventFragment;
        "NewPendingOwner(address,address)": EventFragment;
        "OwnershipTransferred(address,address)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "NewOwner"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "NewPendingOwner"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export interface InitializedEventObject {
    version: number;
}
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
export interface NewOwnerEventObject {
    oldOwner: string;
    newOwner: string;
}
export type NewOwnerEvent = TypedEvent<[string, string], NewOwnerEventObject>;
export type NewOwnerEventFilter = TypedEventFilter<NewOwnerEvent>;
export interface NewPendingOwnerEventObject {
    oldPendingOwner: string;
    newPendingOwner: string;
}
export type NewPendingOwnerEvent = TypedEvent<[
    string,
    string
], NewPendingOwnerEventObject>;
export type NewPendingOwnerEventFilter = TypedEventFilter<NewPendingOwnerEvent>;
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<[
    string,
    string
], OwnershipTransferredEventObject>;
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface AuthoritiesRegistry extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: AuthoritiesRegistryInterface;
    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: {
        _acceptOwner(overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        _setPendingOwner(newPendingOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        canCall(pool: string, user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
        createPoolAuthority(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        initialize(_leveredPositionsFactory: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        leveredPositionsFactory(overrides?: CallOverrides): Promise<[string]>;
        noAuthRequired(overrides?: CallOverrides): Promise<[boolean]>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        pendingOwner(overrides?: CallOverrides): Promise<[string]>;
        poolAuthLogic(overrides?: CallOverrides): Promise<[string]>;
        poolsAuthorities(arg0: string, overrides?: CallOverrides): Promise<[string]>;
        reconfigureAuthority(poolAddress: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        reinitialize(_leveredPositionsFactory: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setUserRole(pool: string, user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    };
    _acceptOwner(overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    _setPendingOwner(newPendingOwner: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    canCall(pool: string, user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    createPoolAuthority(pool: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    initialize(_leveredPositionsFactory: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    leveredPositionsFactory(overrides?: CallOverrides): Promise<string>;
    noAuthRequired(overrides?: CallOverrides): Promise<boolean>;
    owner(overrides?: CallOverrides): Promise<string>;
    pendingOwner(overrides?: CallOverrides): Promise<string>;
    poolAuthLogic(overrides?: CallOverrides): Promise<string>;
    poolsAuthorities(arg0: string, overrides?: CallOverrides): Promise<string>;
    reconfigureAuthority(poolAddress: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    reinitialize(_leveredPositionsFactory: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    renounceOwnership(overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setUserRole(pool: string, user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    transferOwnership(newOwner: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    callStatic: {
        _acceptOwner(overrides?: CallOverrides): Promise<void>;
        _setPendingOwner(newPendingOwner: string, overrides?: CallOverrides): Promise<void>;
        canCall(pool: string, user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<boolean>;
        createPoolAuthority(pool: string, overrides?: CallOverrides): Promise<string>;
        initialize(_leveredPositionsFactory: string, overrides?: CallOverrides): Promise<void>;
        leveredPositionsFactory(overrides?: CallOverrides): Promise<string>;
        noAuthRequired(overrides?: CallOverrides): Promise<boolean>;
        owner(overrides?: CallOverrides): Promise<string>;
        pendingOwner(overrides?: CallOverrides): Promise<string>;
        poolAuthLogic(overrides?: CallOverrides): Promise<string>;
        poolsAuthorities(arg0: string, overrides?: CallOverrides): Promise<string>;
        reconfigureAuthority(poolAddress: string, overrides?: CallOverrides): Promise<void>;
        reinitialize(_leveredPositionsFactory: string, overrides?: CallOverrides): Promise<void>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        setUserRole(pool: string, user: string, role: BigNumberish, enabled: boolean, overrides?: CallOverrides): Promise<void>;
        transferOwnership(newOwner: string, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "Initialized(uint8)"(version?: null): InitializedEventFilter;
        Initialized(version?: null): InitializedEventFilter;
        "NewOwner(address,address)"(oldOwner?: null, newOwner?: null): NewOwnerEventFilter;
        NewOwner(oldOwner?: null, newOwner?: null): NewOwnerEventFilter;
        "NewPendingOwner(address,address)"(oldPendingOwner?: null, newPendingOwner?: null): NewPendingOwnerEventFilter;
        NewPendingOwner(oldPendingOwner?: null, newPendingOwner?: null): NewPendingOwnerEventFilter;
        "OwnershipTransferred(address,address)"(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter;
    };
    estimateGas: {
        _acceptOwner(overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        _setPendingOwner(newPendingOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        canCall(pool: string, user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        createPoolAuthority(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        initialize(_leveredPositionsFactory: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        leveredPositionsFactory(overrides?: CallOverrides): Promise<BigNumber>;
        noAuthRequired(overrides?: CallOverrides): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
        poolAuthLogic(overrides?: CallOverrides): Promise<BigNumber>;
        poolsAuthorities(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        reconfigureAuthority(poolAddress: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        reinitialize(_leveredPositionsFactory: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setUserRole(pool: string, user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        _acceptOwner(overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        _setPendingOwner(newPendingOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        canCall(pool: string, user: string, target: string, functionSig: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        createPoolAuthority(pool: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        initialize(_leveredPositionsFactory: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        leveredPositionsFactory(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        noAuthRequired(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        poolAuthLogic(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        poolsAuthorities(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        reconfigureAuthority(poolAddress: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        reinitialize(_leveredPositionsFactory: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setUserRole(pool: string, user: string, role: BigNumberish, enabled: boolean, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    };
}
