import type { BaseContract, BigNumber, 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 AcrossEventEmitterInterface extends utils.Interface {
    functions: {
        "emitData(bytes)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "emitData"): FunctionFragment;
    encodeFunctionData(functionFragment: "emitData", values: [BytesLike]): string;
    decodeFunctionResult(functionFragment: "emitData", data: BytesLike): Result;
    events: {
        "MetadataEmitted(bytes)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "MetadataEmitted"): EventFragment;
}
export interface MetadataEmittedEventObject {
    data: string;
}
export type MetadataEmittedEvent = TypedEvent<[
    string
], MetadataEmittedEventObject>;
export type MetadataEmittedEventFilter = TypedEventFilter<MetadataEmittedEvent>;
export interface AcrossEventEmitter extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: AcrossEventEmitterInterface;
    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: {
        emitData(data: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    };
    emitData(data: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    callStatic: {
        emitData(data: BytesLike, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "MetadataEmitted(bytes)"(data?: null): MetadataEmittedEventFilter;
        MetadataEmitted(data?: null): MetadataEmittedEventFilter;
    };
    estimateGas: {
        emitData(data: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        emitData(data: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    };
}
