import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
export interface IL2GNSInterface extends Interface {
    getFunction(nameOrSignature: "finishSubgraphTransferFromL1" | "getAliasedL2SubgraphID" | "getUnaliasedL1SubgraphID" | "onTokenTransfer"): FunctionFragment;
    encodeFunctionData(functionFragment: "finishSubgraphTransferFromL1", values: [BigNumberish, BytesLike, BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "getAliasedL2SubgraphID", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "getUnaliasedL1SubgraphID", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "onTokenTransfer", values: [AddressLike, BigNumberish, BytesLike]): string;
    decodeFunctionResult(functionFragment: "finishSubgraphTransferFromL1", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAliasedL2SubgraphID", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getUnaliasedL1SubgraphID", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "onTokenTransfer", data: BytesLike): Result;
}
export interface IL2GNS extends BaseContract {
    connect(runner?: ContractRunner | null): IL2GNS;
    waitForDeployment(): Promise<this>;
    interface: IL2GNSInterface;
    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>;
    finishSubgraphTransferFromL1: TypedContractMethod<[
        l2SubgraphID: BigNumberish,
        subgraphDeploymentID: BytesLike,
        subgraphMetadata: BytesLike,
        versionMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    getAliasedL2SubgraphID: TypedContractMethod<[
        l1SubgraphID: BigNumberish
    ], [
        bigint
    ], "view">;
    getUnaliasedL1SubgraphID: TypedContractMethod<[
        l2SubgraphID: BigNumberish
    ], [
        bigint
    ], "view">;
    onTokenTransfer: TypedContractMethod<[
        from: AddressLike,
        amount: BigNumberish,
        data: BytesLike
    ], [
        void
    ], "nonpayable">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "finishSubgraphTransferFromL1"): TypedContractMethod<[
        l2SubgraphID: BigNumberish,
        subgraphDeploymentID: BytesLike,
        subgraphMetadata: BytesLike,
        versionMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "getAliasedL2SubgraphID"): TypedContractMethod<[l1SubgraphID: BigNumberish], [bigint], "view">;
    getFunction(nameOrSignature: "getUnaliasedL1SubgraphID"): TypedContractMethod<[l2SubgraphID: BigNumberish], [bigint], "view">;
    getFunction(nameOrSignature: "onTokenTransfer"): TypedContractMethod<[
        from: AddressLike,
        amount: BigNumberish,
        data: BytesLike
    ], [
        void
    ], "nonpayable">;
    filters: {};
}
//# sourceMappingURL=IL2GNS.d.ts.map