export declare enum EventsE { FOUND_RAFT_ON_DISCOVERY = "found-raft-on-discovery", DISCOVERY_ENDED = "discovery-ended" } export type PHONE_APP_RESPONSE_BASE = { success: boolean; error?: string; eventName?: EventsE; }; export type START_DISCOVERY_RESPONSE = PHONE_APP_RESPONSE_BASE & { didStartDiscovery: boolean; }; export type FOUND_RAFT_ON_DISCOVERY_RESPONSE = PHONE_APP_RESPONSE_BASE & { foundRIC: { _id: string; _localName: string; _name: string; _rssi: number; }; };