UNPKG

data-transport

Version:
15 lines 442 B
import type { ListenCallback, SendOptions } from './interface'; /** * Mock ports for testing */ export declare const mockPorts: () => { main: { listener: (callback: ListenCallback) => () => void; sender: (message: SendOptions) => void; }; create: () => { listener: (callback: ListenCallback) => () => void; sender: (message: SendOptions) => void; }; }; //# sourceMappingURL=mockPorts.d.ts.map