import { Transport } from "@open-rpc/client-js/build/transports/Transport";
import type { JSONRPCRequestData } from "@open-rpc/client-js/src/Request";
export default class MessagePortTransport extends Transport {
    port: MessagePort;
    postMessageID: string;
    constructor(port: MessagePort);
    private messageHandler;
    connect(): Promise<void>;
    sendData(data: JSONRPCRequestData): Promise<any>;
    close(): void;
}
