import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import { Listener, Provider } from "@ethersproject/providers";
import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
export interface StaticJobsInterface extends utils.Interface {
    functions: {
        "_executeJob(bytes)": FunctionFragment;
        "depositGas()": FunctionFragment;
        "executeJob(address,uint256,bytes[],address[])": FunctionFragment;
        "gasBalance(address)": FunctionFragment;
        "initialize(address)": FunctionFragment;
        "keeperRegistry()": FunctionFragment;
        "owner()": FunctionFragment;
        "registerJob(bytes[],address[],string,string[])": FunctionFragment;
        "renounceOwnership()": FunctionFragment;
        "totalJobsPerUser(address)": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
        "upgradeTo(address)": FunctionFragment;
        "upgradeToAndCall(address,bytes)": FunctionFragment;
        "withdrawGas(address,uint256)": FunctionFragment;
    };
    encodeFunctionData(functionFragment: "_executeJob", values: [BytesLike]): string;
    encodeFunctionData(functionFragment: "depositGas", values?: undefined): string;
    encodeFunctionData(functionFragment: "executeJob", values: [string, BigNumberish, BytesLike[], string[]]): string;
    encodeFunctionData(functionFragment: "gasBalance", values: [string]): string;
    encodeFunctionData(functionFragment: "initialize", values: [string]): string;
    encodeFunctionData(functionFragment: "keeperRegistry", values?: undefined): string;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "registerJob", values: [BytesLike[], string[], string, string[]]): string;
    encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "totalJobsPerUser", values: [string]): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [string]): string;
    encodeFunctionData(functionFragment: "upgradeTo", values: [string]): string;
    encodeFunctionData(functionFragment: "upgradeToAndCall", values: [string, BytesLike]): string;
    encodeFunctionData(functionFragment: "withdrawGas", values: [string, BigNumberish]): string;
    decodeFunctionResult(functionFragment: "_executeJob", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "depositGas", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "executeJob", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "gasBalance", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "keeperRegistry", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "registerJob", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "totalJobsPerUser", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "withdrawGas", data: BytesLike): Result;
    events: {
        "AdminChanged(address,address)": EventFragment;
        "BeaconUpgraded(address)": EventFragment;
        "GasDeposited(address,uint256)": EventFragment;
        "GasWithrawn(address,uint256)": EventFragment;
        "JobExecuted(address,uint256,address,uint256)": EventFragment;
        "JobFailed(address,uint256,address,uint256)": EventFragment;
        "JobRegistered(address,bytes[],address[],bytes32,uint256,string,string[])": EventFragment;
        "OwnershipTransferred(address,address)": EventFragment;
        "Upgraded(address)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "GasDeposited"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "GasWithrawn"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "JobExecuted"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "JobFailed"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "JobRegistered"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
}
export declare type AdminChangedEvent = TypedEvent<[
    string,
    string
], {
    previousAdmin: string;
    newAdmin: string;
}>;
export declare type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
export declare type BeaconUpgradedEvent = TypedEvent<[string], {
    beacon: string;
}>;
export declare type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
export declare type GasDepositedEvent = TypedEvent<[
    string,
    BigNumber
], {
    depositer: string;
    value: BigNumber;
}>;
export declare type GasDepositedEventFilter = TypedEventFilter<GasDepositedEvent>;
export declare type GasWithrawnEvent = TypedEvent<[
    string,
    BigNumber
], {
    withdrawer: string;
    value: BigNumber;
}>;
export declare type GasWithrawnEventFilter = TypedEventFilter<GasWithrawnEvent>;
export declare type JobExecutedEvent = TypedEvent<[
    string,
    BigNumber,
    string,
    BigNumber
], {
    jobMaker: string;
    jobId: BigNumber;
    executor: string;
    gasUsed: BigNumber;
}>;
export declare type JobExecutedEventFilter = TypedEventFilter<JobExecutedEvent>;
export declare type JobFailedEvent = TypedEvent<[
    string,
    BigNumber,
    string,
    BigNumber
], {
    jobMaker: string;
    jobId: BigNumber;
    executor: string;
    gasUsed: BigNumber;
}>;
export declare type JobFailedEventFilter = TypedEventFilter<JobFailedEvent>;
export declare type JobRegisteredEvent = TypedEvent<[
    string,
    string[],
    string[],
    string,
    BigNumber,
    string,
    string[]
], {
    jobMaker: string;
    jobInfo: string[];
    targetAddresses: string[];
    jobHash: string;
    jobId: BigNumber;
    name: string;
    ipfsForJobDetails: string[];
}>;
export declare type JobRegisteredEventFilter = TypedEventFilter<JobRegisteredEvent>;
export declare type OwnershipTransferredEvent = TypedEvent<[
    string,
    string
], {
    previousOwner: string;
    newOwner: string;
}>;
export declare type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export declare type UpgradedEvent = TypedEvent<[string], {
    implementation: string;
}>;
export declare type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
export interface StaticJobs extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: StaticJobsInterface;
    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: {
        _executeJob(data: BytesLike, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        depositGas(overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        executeJob(_jobMaker: string, _jobId: BigNumberish, _jobInfo: BytesLike[], _targetAddresses: string[], overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        gasBalance(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>;
        initialize(_keeperRegistry: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        keeperRegistry(overrides?: CallOverrides): Promise<[string]>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        registerJob(_jobInfo: BytesLike[], _targetAddresses: string[], _name: string, _ipfsForJobDetails: string[], overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        totalJobsPerUser(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        upgradeTo(newImplementation: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        withdrawGas(to: string, amount: BigNumberish, overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
    };
    _executeJob(data: BytesLike, overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    depositGas(overrides?: PayableOverrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    executeJob(_jobMaker: string, _jobId: BigNumberish, _jobInfo: BytesLike[], _targetAddresses: string[], overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    gasBalance(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
    initialize(_keeperRegistry: string, overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    keeperRegistry(overrides?: CallOverrides): Promise<string>;
    owner(overrides?: CallOverrides): Promise<string>;
    registerJob(_jobInfo: BytesLike[], _targetAddresses: string[], _name: string, _ipfsForJobDetails: string[], overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    renounceOwnership(overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    totalJobsPerUser(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
    transferOwnership(newOwner: string, overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    upgradeTo(newImplementation: string, overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    withdrawGas(to: string, amount: BigNumberish, overrides?: PayableOverrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        _executeJob(data: BytesLike, overrides?: CallOverrides): Promise<void>;
        depositGas(overrides?: CallOverrides): Promise<void>;
        executeJob(_jobMaker: string, _jobId: BigNumberish, _jobInfo: BytesLike[], _targetAddresses: string[], overrides?: CallOverrides): Promise<boolean>;
        gasBalance(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        initialize(_keeperRegistry: string, overrides?: CallOverrides): Promise<void>;
        keeperRegistry(overrides?: CallOverrides): Promise<string>;
        owner(overrides?: CallOverrides): Promise<string>;
        registerJob(_jobInfo: BytesLike[], _targetAddresses: string[], _name: string, _ipfsForJobDetails: string[], overrides?: CallOverrides): Promise<void>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        totalJobsPerUser(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: string, overrides?: CallOverrides): Promise<void>;
        upgradeTo(newImplementation: string, overrides?: CallOverrides): Promise<void>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: CallOverrides): Promise<void>;
        withdrawGas(to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "AdminChanged(address,address)"(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
        AdminChanged(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
        "BeaconUpgraded(address)"(beacon?: string | null): BeaconUpgradedEventFilter;
        BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
        "GasDeposited(address,uint256)"(depositer?: string | null, value?: null): GasDepositedEventFilter;
        GasDeposited(depositer?: string | null, value?: null): GasDepositedEventFilter;
        "GasWithrawn(address,uint256)"(withdrawer?: string | null, value?: null): GasWithrawnEventFilter;
        GasWithrawn(withdrawer?: string | null, value?: null): GasWithrawnEventFilter;
        "JobExecuted(address,uint256,address,uint256)"(jobMaker?: string | null, jobId?: null, executor?: null, gasUsed?: null): JobExecutedEventFilter;
        JobExecuted(jobMaker?: string | null, jobId?: null, executor?: null, gasUsed?: null): JobExecutedEventFilter;
        "JobFailed(address,uint256,address,uint256)"(jobMaker?: string | null, jobId?: null, executor?: null, gasUsed?: null): JobFailedEventFilter;
        JobFailed(jobMaker?: string | null, jobId?: null, executor?: null, gasUsed?: null): JobFailedEventFilter;
        "JobRegistered(address,bytes[],address[],bytes32,uint256,string,string[])"(jobMaker?: string | null, jobInfo?: null, targetAddresses?: null, jobHash?: null, jobId?: null, name?: null, ipfsForJobDetails?: null): JobRegisteredEventFilter;
        JobRegistered(jobMaker?: string | null, jobInfo?: null, targetAddresses?: null, jobHash?: null, jobId?: null, name?: null, ipfsForJobDetails?: null): JobRegisteredEventFilter;
        "OwnershipTransferred(address,address)"(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter;
        "Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
        Upgraded(implementation?: string | null): UpgradedEventFilter;
    };
    estimateGas: {
        _executeJob(data: BytesLike, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        depositGas(overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        executeJob(_jobMaker: string, _jobId: BigNumberish, _jobInfo: BytesLike[], _targetAddresses: string[], overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        gasBalance(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        initialize(_keeperRegistry: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        keeperRegistry(overrides?: CallOverrides): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        registerJob(_jobInfo: BytesLike[], _targetAddresses: string[], _name: string, _ipfsForJobDetails: string[], overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        totalJobsPerUser(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        upgradeTo(newImplementation: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        withdrawGas(to: string, amount: BigNumberish, overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        _executeJob(data: BytesLike, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        depositGas(overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        executeJob(_jobMaker: string, _jobId: BigNumberish, _jobInfo: BytesLike[], _targetAddresses: string[], overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        gasBalance(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        initialize(_keeperRegistry: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        keeperRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        registerJob(_jobInfo: BytesLike[], _targetAddresses: string[], _name: string, _ipfsForJobDetails: string[], overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        totalJobsPerUser(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        upgradeTo(newImplementation: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        withdrawGas(to: string, amount: BigNumberish, overrides?: PayableOverrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
    };
}
