export interface PingResult { success: boolean; } export interface Ping { ping: ping; } export type ping = () => Promise;