import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
export interface IGraphProxyInterface extends Interface {
    getFunction(nameOrSignature: "acceptUpgrade" | "acceptUpgradeAndCall" | "admin" | "implementation" | "pendingImplementation" | "setAdmin" | "upgradeTo"): FunctionFragment;
    encodeFunctionData(functionFragment: "acceptUpgrade", values?: undefined): string;
    encodeFunctionData(functionFragment: "acceptUpgradeAndCall", values: [BytesLike]): string;
    encodeFunctionData(functionFragment: "admin", values?: undefined): string;
    encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
    encodeFunctionData(functionFragment: "pendingImplementation", values?: undefined): string;
    encodeFunctionData(functionFragment: "setAdmin", values: [AddressLike]): string;
    encodeFunctionData(functionFragment: "upgradeTo", values: [AddressLike]): string;
    decodeFunctionResult(functionFragment: "acceptUpgrade", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "acceptUpgradeAndCall", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pendingImplementation", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setAdmin", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
}
export interface IGraphProxy extends BaseContract {
    connect(runner?: ContractRunner | null): IGraphProxy;
    waitForDeployment(): Promise<this>;
    interface: IGraphProxyInterface;
    queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
    listeners(eventName?: string): Promise<Array<Listener>>;
    removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
    acceptUpgrade: TypedContractMethod<[], [void], "nonpayable">;
    acceptUpgradeAndCall: TypedContractMethod<[
        data: BytesLike
    ], [
        void
    ], "nonpayable">;
    admin: TypedContractMethod<[], [string], "nonpayable">;
    implementation: TypedContractMethod<[], [string], "nonpayable">;
    pendingImplementation: TypedContractMethod<[], [string], "nonpayable">;
    setAdmin: TypedContractMethod<[newAdmin: AddressLike], [void], "nonpayable">;
    upgradeTo: TypedContractMethod<[
        newImplementation: AddressLike
    ], [
        void
    ], "nonpayable">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "acceptUpgrade"): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature: "acceptUpgradeAndCall"): TypedContractMethod<[data: BytesLike], [void], "nonpayable">;
    getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "nonpayable">;
    getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "nonpayable">;
    getFunction(nameOrSignature: "pendingImplementation"): TypedContractMethod<[], [string], "nonpayable">;
    getFunction(nameOrSignature: "setAdmin"): TypedContractMethod<[newAdmin: AddressLike], [void], "nonpayable">;
    getFunction(nameOrSignature: "upgradeTo"): TypedContractMethod<[
        newImplementation: AddressLike
    ], [
        void
    ], "nonpayable">;
    filters: {};
}
//# sourceMappingURL=IGraphProxy.d.ts.map