import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
export declare namespace ACMCommandsAggregator {
    type PermissionStruct = {
        contractAddress: PromiseOrValue<string>;
        functionSig: PromiseOrValue<string>;
        account: PromiseOrValue<string>;
    };
    type PermissionStructOutput = [string, string, string] & {
        contractAddress: string;
        functionSig: string;
        account: string;
    };
}
export interface ACMCommandsAggregatorInterface extends utils.Interface {
    functions: {
        "ACM()": FunctionFragment;
        "addGrantPermissions((address,string,address)[])": FunctionFragment;
        "addRevokePermissions((address,string,address)[])": FunctionFragment;
        "executeGrantPermissions(uint256)": FunctionFragment;
        "executeRevokePermissions(uint256)": FunctionFragment;
        "grantPermissions(uint256,uint256)": FunctionFragment;
        "revokePermissions(uint256,uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "ACM" | "addGrantPermissions" | "addRevokePermissions" | "executeGrantPermissions" | "executeRevokePermissions" | "grantPermissions" | "revokePermissions"): FunctionFragment;
    encodeFunctionData(functionFragment: "ACM", values?: undefined): string;
    encodeFunctionData(functionFragment: "addGrantPermissions", values: [ACMCommandsAggregator.PermissionStruct[]]): string;
    encodeFunctionData(functionFragment: "addRevokePermissions", values: [ACMCommandsAggregator.PermissionStruct[]]): string;
    encodeFunctionData(functionFragment: "executeGrantPermissions", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "executeRevokePermissions", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "grantPermissions", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "revokePermissions", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: "ACM", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "addGrantPermissions", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "addRevokePermissions", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "executeGrantPermissions", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "executeRevokePermissions", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "grantPermissions", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "revokePermissions", data: BytesLike): Result;
    events: {
        "GrantPermissionsAdded(uint256)": EventFragment;
        "GrantPermissionsExecuted(uint256)": EventFragment;
        "RevokePermissionsAdded(uint256)": EventFragment;
        "RevokePermissionsExecuted(uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "GrantPermissionsAdded"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "GrantPermissionsExecuted"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RevokePermissionsAdded"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RevokePermissionsExecuted"): EventFragment;
}
export interface GrantPermissionsAddedEventObject {
    index: BigNumber;
}
export type GrantPermissionsAddedEvent = TypedEvent<[
    BigNumber
], GrantPermissionsAddedEventObject>;
export type GrantPermissionsAddedEventFilter = TypedEventFilter<GrantPermissionsAddedEvent>;
export interface GrantPermissionsExecutedEventObject {
    index: BigNumber;
}
export type GrantPermissionsExecutedEvent = TypedEvent<[
    BigNumber
], GrantPermissionsExecutedEventObject>;
export type GrantPermissionsExecutedEventFilter = TypedEventFilter<GrantPermissionsExecutedEvent>;
export interface RevokePermissionsAddedEventObject {
    index: BigNumber;
}
export type RevokePermissionsAddedEvent = TypedEvent<[
    BigNumber
], RevokePermissionsAddedEventObject>;
export type RevokePermissionsAddedEventFilter = TypedEventFilter<RevokePermissionsAddedEvent>;
export interface RevokePermissionsExecutedEventObject {
    index: BigNumber;
}
export type RevokePermissionsExecutedEvent = TypedEvent<[
    BigNumber
], RevokePermissionsExecutedEventObject>;
export type RevokePermissionsExecutedEventFilter = TypedEventFilter<RevokePermissionsExecutedEvent>;
export interface ACMCommandsAggregator extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: ACMCommandsAggregatorInterface;
    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: {
        ACM(overrides?: CallOverrides): Promise<[string]>;
        addGrantPermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        addRevokePermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        executeGrantPermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        executeRevokePermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        grantPermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            string,
            string
        ] & {
            contractAddress: string;
            functionSig: string;
            account: string;
        }>;
        revokePermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            string,
            string
        ] & {
            contractAddress: string;
            functionSig: string;
            account: string;
        }>;
    };
    ACM(overrides?: CallOverrides): Promise<string>;
    addGrantPermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    addRevokePermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    executeGrantPermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    executeRevokePermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    grantPermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        string,
        string,
        string
    ] & {
        contractAddress: string;
        functionSig: string;
        account: string;
    }>;
    revokePermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        string,
        string,
        string
    ] & {
        contractAddress: string;
        functionSig: string;
        account: string;
    }>;
    callStatic: {
        ACM(overrides?: CallOverrides): Promise<string>;
        addGrantPermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: CallOverrides): Promise<void>;
        addRevokePermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: CallOverrides): Promise<void>;
        executeGrantPermissions(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        executeRevokePermissions(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        grantPermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            string,
            string
        ] & {
            contractAddress: string;
            functionSig: string;
            account: string;
        }>;
        revokePermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            string,
            string,
            string
        ] & {
            contractAddress: string;
            functionSig: string;
            account: string;
        }>;
    };
    filters: {
        "GrantPermissionsAdded(uint256)"(index?: null): GrantPermissionsAddedEventFilter;
        GrantPermissionsAdded(index?: null): GrantPermissionsAddedEventFilter;
        "GrantPermissionsExecuted(uint256)"(index?: null): GrantPermissionsExecutedEventFilter;
        GrantPermissionsExecuted(index?: null): GrantPermissionsExecutedEventFilter;
        "RevokePermissionsAdded(uint256)"(index?: null): RevokePermissionsAddedEventFilter;
        RevokePermissionsAdded(index?: null): RevokePermissionsAddedEventFilter;
        "RevokePermissionsExecuted(uint256)"(index?: null): RevokePermissionsExecutedEventFilter;
        RevokePermissionsExecuted(index?: null): RevokePermissionsExecutedEventFilter;
    };
    estimateGas: {
        ACM(overrides?: CallOverrides): Promise<BigNumber>;
        addGrantPermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        addRevokePermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        executeGrantPermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        executeRevokePermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        grantPermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        revokePermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        ACM(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        addGrantPermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        addRevokePermissions(_permissions: ACMCommandsAggregator.PermissionStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        executeGrantPermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        executeRevokePermissions(index: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        grantPermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        revokePermissions(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=ACMCommandsAggregator.d.ts.map