import type { EIP6963AnnounceProviderEvent, EIP6963RequestProviderEvent } from "@metamask/providers";
import { XrplConnector, XrplNetwork, XrplTransaction } from "../../types/xrpl";
declare enum EIP6963EventNames {
    Announce = "eip6963:announceProvider",
    Request = "eip6963:requestProvider"
}
declare global {
    interface WindowEventMap {
        [EIP6963EventNames.Announce]: EIP6963AnnounceProviderEvent;
        [EIP6963EventNames.Request]: EIP6963RequestProviderEvent;
    }
}
export declare class XrplMetamaskSnapConnector implements XrplConnector {
    private provider?;
    connect(): Promise<string>;
    signAndSubmit({ network, tx, }: {
        network: XrplNetwork;
        tx: XrplTransaction;
    }): Promise<{
        hash: string;
        status: string;
    }>;
    private initialize;
    private requestSnap;
    private getAccount;
    private getActiveNetwork;
    private changeNetwork;
    private invokeSnap;
    private getProvider;
    private hasSnapsSupport;
    private getMetamaskEIP6963Provider;
    private request;
    private getNetworkChainId;
}
export {};
