/** * Default Android Message API path used by the native module. Use the same value in your Wear OS * app when calling `MessageClient.sendMessage` / handling `onMessageReceived`. */ export declare const ANDROID_DEFAULT_MESSAGE_PATH: "/expo-wear-msg"; /** * Default segment matched on Data Layer URI paths when the phone receives mirrored JSON (see * Android `WearMessagingListenerService`). Use a path containing this segment on the watch, e.g. * `/expo-wear-report`. */ export declare const ANDROID_DEFAULT_DATA_REPORT_PATH_SEGMENT: "expo-wear-report"; /** Native surface is shared across iOS and Android; OS-specific methods may no-op or return defaults. */ export type ExpoWearableMessagingNative = { sendMessageAsync(jsonPayload: string): Promise; refreshReachabilityAsync(): Promise; isReachableAsync(): Promise; getIsPairedAsync(): Promise; getIsCompanionInstalledAsync(): Promise; addListener(eventName: "onMessage" | "onReachability" | "onPaired" | "onInstalled", listener: (event: Record) => void): { remove(): void; }; }; /** Send a JSON object to the companion watch; resolves with the reply payload when the OS supports it (interactive send on iOS). */ export declare function sendJsonMessage(payload: Record): Promise>; export declare function addMessageListener(listener: (payload: Record) => void): () => void; /** Fires when reachability changes; `connected` matches Wear OS Data Layer semantics (watch reachable). */ export declare function addReachabilityListener(listener: (connected: boolean) => void): () => void; export declare function addPairedListener(listener: (paired: boolean) => void): () => void; export declare function addCompanionInstalledListener(listener: (installed: boolean) => void): () => void; export declare function refreshReachability(): Promise; export declare function getReachable(): Promise; /** @deprecated Use {@link getReachable}; kept for call sites that still ask for “reachability”. */ export declare const getReachability: typeof getReachable; export declare function getPaired(): Promise; export declare function getCompanionInstalled(): Promise; //# sourceMappingURL=index.d.ts.map