/** * Thin re-exports from private `expo-widgets` for expo-ui widget interactions * and push-to-start tokens. Prefer expo-targets verbs elsewhere * (`createTarget`, `setData`, `LiveActivity.*`). * * Android Glance / RemoteViews Bump taps emit via ExpoTargetsStorage * `onUserInteraction` (same event shape as expo-widgets on iOS). */ import type { EventSubscription } from 'expo-modules-core'; export type UserInteractionEvent = { source: string; target: string; timestamp: number; type: 'ExpoWidgetsUserInteraction'; }; export type PushToStartTokenEvent = { activityPushToStartToken: string; }; /** Listen for widget Button / toggle presses (iOS AppIntent or Android Glance/RemoteViews). */ export declare function addUserInteractionListener(listener: (event: UserInteractionEvent) => void): EventSubscription; /** * Listen for ActivityKit push-to-start tokens (APNs remote start). * agent-device cannot green remote push on Simulator — see CLAIMS live-activity. */ export declare function addPushToStartTokenListener(listener: (event: PushToStartTokenEvent) => void): EventSubscription; //# sourceMappingURL=widgets.d.ts.map