export type Ping = { id: string; PING: 'PING'; sent: number; }; export type Pong = Omit & { PING: 'PONG'; pid: number; }; export declare const pong: (ping: Ping) => Pong; export declare function ping(): Omit; export declare function ping(id: string): Ping; export declare const isPong: (msg: any, ping?: Ping) => msg is Pong; export declare const isPing: (msg: any) => msg is Ping; //# sourceMappingURL=ping.d.ts.map