@testerpaykit/expo 0.11.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _testerpaykit_api_client from '@testerpaykit/api-client';
2
- import { SessionEventInput, BugReportAttachmentInput, BugReportAttachmentResponse, BugReportPayload, BugReportResponse, TaskListResponse, TesterTask, TesterPayKitApiClient, AnonymousLoginResponse, BugReportType, BugSeverity, BugCategory, MyBugReportSummary, NotificationsResult, TesterSessionEndReason, TesterProfile, TesterPoints, ChecklistTask, ChecklistStepResult, EarningsSummary, PayoutRecord } from '@testerpaykit/api-client';
3
- export { BugCategory, BugReportAttachmentInput, BugReportAttachmentResponse, BugReportType, BugSeverity, EarningsSummary, EnrollmentResponse, MyBugReportSummary, MyBugReportsResponse, NotificationsResult, PayoutRecord, TaskListFilter, TaskListResponse, TesterPoints, TesterProfile, TesterTask, TpkNotification } from '@testerpaykit/api-client';
2
+ import { SessionEventInput, BugReportAttachmentInput, BugReportAttachmentResponse, BugReportPayload, BugReportResponse, TaskListResponse, TesterTask, TesterPayKitApiClient, WorkCommand, CompensationWallet, PaidAssignment, AnonymousLoginResponse, BugReportType, BugSeverity, BugCategory, MyBugReportSummary, NotificationsResult, TesterSessionEndReason, PushRegistration, TesterProfile, TesterPoints, ChecklistTask, ChecklistStepResult, EarningsSummary, PayoutRecord } from '@testerpaykit/api-client';
3
+ export { BugCategory, BugReportAttachmentInput, BugReportAttachmentResponse, BugReportType, BugSeverity, CompensationWallet, EarningsSummary, EnrollmentResponse, MoneyEntry, MyBugReportSummary, MyBugReportsResponse, NotificationsResult, PaidAssignment, PayoutRecord, PushRegistration, TaskListFilter, TaskListResponse, TesterPoints, TesterProfile, TesterTask, TpkNotification, WorkCommand } from '@testerpaykit/api-client';
4
4
  import { RemoteAiSession } from '@testerpaykit/core';
5
5
  import React, { RefObject, ReactNode } from 'react';
6
6
  import { StyleProp, ViewStyle, TextStyle } from 'react-native';
@@ -70,23 +70,94 @@ interface BreadcrumbsOptions {
70
70
  /** Max entries to keep in the ring. Default 50. */
71
71
  maxEntries?: number;
72
72
  }
73
+ /**
74
+ * Two views on the same entries: the ring buffer ([snapshot], [recent])
75
+ * is the context every report ships; the pending list
76
+ * ([pendingSnapshot] / [markPendingFlushed]) is what the session
77
+ * timeline has not received yet. A flush (also the one on app
78
+ * background) only empties the pending list — the context must survive
79
+ * it, or the first report after a backgrounding arrives with screen
80
+ * "unknown" and no breadcrumbs (TinIdeas on a real iPhone, 2026-11-06).
81
+ */
73
82
  declare class Breadcrumbs {
74
83
  private readonly maxEntries;
75
84
  private readonly buffer;
76
85
  private readonly pending;
86
+ private screen;
87
+ private static readonly MAX_PENDING;
77
88
  constructor(options?: BreadcrumbsOptions);
78
89
  /** Record a breadcrumb. Drops the oldest if past capacity. */
79
90
  record(crumb: Omit<Breadcrumb, 't'>): void;
91
+ /**
92
+ * The screen the app shows now: the last navigation breadcrumb. Kept
93
+ * apart from the ring, so it survives the ring overflowing (hosts
94
+ * report a screen only when it changes) and [clear].
95
+ */
96
+ get currentScreen(): string | undefined;
97
+ /** The last [limit] breadcrumbs, oldest first — what a report ships. */
98
+ recent(limit?: number): Breadcrumb[];
80
99
  /** Snapshot of the current buffer (cloned). */
81
100
  snapshot(): Breadcrumb[];
82
101
  /** Breadcrumbs not yet flushed to the session timeline endpoint. */
83
102
  pendingSnapshot(): Breadcrumb[];
84
103
  /** Mark the oldest pending breadcrumbs as successfully flushed. */
85
104
  markPendingFlushed(count?: number): void;
86
- /** Clear the buffer — typically called after a successful submit. */
105
+ /** Clear the buffer. [currentScreen] stays: the app still shows it. */
87
106
  clear(): void;
88
107
  }
89
108
 
109
+ /**
110
+ * A report's `deviceSnapshot` in the keys the server and the MCP tools
111
+ * read (`platform`, `os`, `osVersion`, `model`, `locale`) — the same
112
+ * shape the Flutter SDK sends. `model` is the marketing name when known
113
+ * ("iPhone 15 Pro"), `modelId` the hardware identifier ("iPhone16,1").
114
+ * Unknown values are left out, never faked.
115
+ */
116
+ interface DeviceSnapshot {
117
+ platform: 'ios' | 'android' | 'web' | 'macos' | 'windows';
118
+ os: string;
119
+ osVersion?: string;
120
+ model?: string;
121
+ modelId?: string;
122
+ manufacturer?: string;
123
+ isPhysicalDevice?: boolean;
124
+ locale?: string;
125
+ capturedAt: string;
126
+ }
127
+ interface AppSnapshot {
128
+ version?: string;
129
+ buildNumber?: string;
130
+ bundleId?: string;
131
+ buildMode: 'debug' | 'profile' | 'release';
132
+ /**
133
+ * Screen path that led to the bug — chronological, consecutive-deduped,
134
+ * newest last (the final entry is the screen the bug happened on).
135
+ * Mirrors the Flutter SDK's appSnapshot.navigationPath; the server +
136
+ * `tpk bug context` surface it as the navigation flow.
137
+ */
138
+ navigationPath?: string[];
139
+ }
140
+ /**
141
+ * Best-effort snapshot of the device. Uses expo-device when available
142
+ * (marketing name as `model`, `modelId` "iPhone16,1" on iOS, the device
143
+ * code on Android); falls back to react-native's Platform.
144
+ */
145
+ declare function getDeviceSnapshot(): Promise<DeviceSnapshot>;
146
+ /**
147
+ * Best-effort snapshot of the host app. Uses expo-application when
148
+ * available; falls back to a build-mode-only object.
149
+ */
150
+ declare function getAppSnapshot(buildMode?: AppSnapshot['buildMode']): Promise<AppSnapshot>;
151
+
152
+ interface ReportContext {
153
+ /** The last screen the app reported, `unknown` when none was. */
154
+ currentScreen: string;
155
+ deviceSnapshot: DeviceSnapshot;
156
+ appSnapshot: Record<string, unknown>;
157
+ /** Oldest first, as the server reads them. */
158
+ breadcrumbs: Breadcrumb[];
159
+ }
160
+
90
161
  interface CrashHandlerOptions {
91
162
  /** Called when a crash is captured. Return value awaited. */
92
163
  onCrash: (info: CrashInfo) => Promise<void> | void;
@@ -471,6 +542,42 @@ declare function deriveTaskProgress(res: TaskListResponse): TaskProgress;
471
542
  */
472
543
  declare function findAssignmentForTask(tasks: TesterTask[], key: string): TesterTask | null;
473
544
 
545
+ /** Total agreed working time, including reading/reporting outside app screens.
546
+ * This preview is never an approved balance. The server validates every receipt. */
547
+ declare function workSeconds(a: PaidAssignment, serverNow: number): number;
548
+ type Api = Pick<TesterPayKitApiClient, 'getCompensation' | 'recordPaidWork'>;
549
+ interface SavedWork {
550
+ command: WorkCommand;
551
+ savedAt: string;
552
+ }
553
+ declare class CompensationClient {
554
+ private api;
555
+ private storage;
556
+ private scope;
557
+ private inflight;
558
+ private acting;
559
+ private rejectedRequest;
560
+ constructor(api: Api, storage: TpkStorage, scope: string);
561
+ private get pendingKey();
562
+ private get walletKey();
563
+ private get savedWorkKey();
564
+ private get clockKey();
565
+ pending(): Promise<WorkCommand | null>;
566
+ flush(): Promise<void>;
567
+ load(): Promise<{
568
+ wallet: CompensationWallet;
569
+ offline: boolean;
570
+ pending: WorkCommand | null;
571
+ conflict: boolean;
572
+ savedWork: SavedWork[];
573
+ clockOffset: number;
574
+ }>;
575
+ act(a: PaidAssignment, action: WorkCommand['action'], seconds?: number, note?: string): Promise<void>;
576
+ /** Explicit reconciliation only after a definitive server rejection. Keep
577
+ * the original work visible for clarification; never silently discard it. */
578
+ resolveConflict(): Promise<void>;
579
+ }
580
+
474
581
  interface TpkExpoConfig {
475
582
  /** Project UUID — bootstrap via `tpk project create` first. */
476
583
  projectId: string;
@@ -535,7 +642,18 @@ interface SubmitBugInput {
535
642
  */
536
643
  transcript?: string;
537
644
  sourceLanguage?: string;
645
+ /** Extra keys merged into the report's `appSnapshot` (e.g. the
646
+ * session-end rating as `sessionFeedback`). */
647
+ appSnapshot?: Record<string, unknown>;
538
648
  }
649
+ /**
650
+ * Whether this install may see the TesterPayKit widget (Uli,
651
+ * 2026-11-06): `ready` only for a confirmed number AND an admin's
652
+ * approval, in every build. `hidden` otherwise — also offline without a
653
+ * cached confirmation. The wrapper shows its FAB, gestures and tester
654
+ * sheets only while `ready`.
655
+ */
656
+ type TpkAccess = 'hidden' | 'ready';
539
657
  interface EndSessionInput {
540
658
  reason?: TesterSessionEndReason;
541
659
  bugsFound?: number;
@@ -558,8 +676,12 @@ interface FlushTelemetryResult {
558
676
  * - `queued` Saved offline, will retry on next flush.
559
677
  * - `failedPermanent` Server returned 4xx — payload is rejected,
560
678
  * won't retry.
679
+ * - `phoneRequired` 403 phone_required: the tester has no confirmed
680
+ * DE/AT/CH number yet (migration 077). Not queued.
681
+ * - `approvalRequired` 403 approval_required: the account still waits
682
+ * for an admin's approval. Not queued.
561
683
  */
562
- type SubmitBugOutcome = 'uploaded' | 'deduplicated' | 'queued' | 'failedPermanent';
684
+ type SubmitBugOutcome = 'uploaded' | 'deduplicated' | 'queued' | 'failedPermanent' | 'phoneRequired' | 'approvalRequired';
563
685
  /**
564
686
  * Result of [TpkExpo.submitBug]. Drives the host UI message —
565
687
  * see [SubmitBugOutcome] for the exact mapping.
@@ -624,12 +746,21 @@ declare class TpkExpo {
624
746
  liveStateProvider: (() => unknown) | null;
625
747
  /** The project this client reports into. */
626
748
  get projectId(): string;
749
+ private compensationClient;
750
+ get compensation(): CompensationClient;
627
751
  private readonly sessionEvents;
628
752
  private uninstallDurableSync;
629
753
  private uninstallTaskBinding;
630
754
  private readonly capturedCrashes;
631
755
  private readonly submittedCrashes;
632
756
  private crashFlush;
757
+ private accessValue;
758
+ private handleValue;
759
+ /** Bumped by a tester-gate 403: a check that started before it must
760
+ * not bring a stale "ready" back. */
761
+ private accessGeneration;
762
+ private readonly accessListeners;
763
+ private verificationPresenter;
633
764
  private constructor();
634
765
  /** Active server session id. Updated by init or rotate. Used to route telemetry. */
635
766
  sessionId: string;
@@ -672,12 +803,9 @@ declare class TpkExpo {
672
803
  */
673
804
  getSessionStats(filter?: PeriodFilter): SessionStatsSnapshot;
674
805
  /**
675
- * Activity-gated paid minutes for the current session — paid time is
676
- * capped by actual interaction so an idle / wake-tapped session earns
677
- * ~nothing while real testing earns the full duration. Mirrors
678
- * testerpaykit_core PayoutCalculator.engagedMinutes (parity with the
679
- * Flutter SDK's activity-gated earnings). Drive an honest in-app
680
- * earnings estimate from this instead of raw foreground time.
806
+ * Legacy interaction-weighted diagnostic. The buffer is cleared after
807
+ * flushing; this value is not paid time and must not create money claims.
808
+ * Paid assignments use the durable compensation account instead.
681
809
  */
682
810
  getEngagedMinutes(filter?: PeriodFilter): number;
683
811
  /**
@@ -689,6 +817,82 @@ declare class TpkExpo {
689
817
  status?: string;
690
818
  limit?: number;
691
819
  }): Promise<MyBugReportSummary[]>;
820
+ /**
821
+ * Whether this install may report yet (migrations 075 + 077: a
822
+ * confirmed DE/AT/CH number AND an admin's approval).
823
+ * - `verified`: number confirmed and approved (cached once both hold).
824
+ * - `required`: ask for the number now.
825
+ * - `awaitingApproval`: number confirmed, approval still pending.
826
+ * Never cached.
827
+ * - `unknown`: offline / not signed in, nothing cached.
828
+ *
829
+ * A cached confirmation answers `verified` without a network call.
830
+ * With `revalidate` the profile is asked anyway: a definite "not (any
831
+ * more)" drops the cache, offline keeps it.
832
+ */
833
+ phoneStatus(options?: {
834
+ revalidate?: boolean;
835
+ }): Promise<'verified' | 'required' | 'awaitingApproval' | 'unknown'>;
836
+ /** See [TpkAccess]. */
837
+ get access(): TpkAccess;
838
+ /** The tester's handle ("moinsen-uli") while access is ready and the
839
+ * server gave one; null otherwise. */
840
+ get handle(): string | null;
841
+ /** Called whenever [access] or [handle] changes. Returns the unsubscribe. */
842
+ onAccessChange(listener: () => void): () => void;
843
+ /**
844
+ * Re-derives [access] from the phone status and returns it. By default
845
+ * the server is asked even when "ready" is cached (a revoked approval
846
+ * hides the widget; offline keeps the cached answer).
847
+ * `revalidate: false` answers from the cache when there is one.
848
+ */
849
+ refreshAccess(options?: {
850
+ revalidate?: boolean;
851
+ }): Promise<TpkAccess>;
852
+ /**
853
+ * Lets a person become a visible tester from the host's own UI (e.g. a
854
+ * "Become a tester" entry): the mounted TesterPayKitWrapper opens the
855
+ * phone sheet when the number is not confirmed yet and says so when
856
+ * the approval is still pending. Returns the resulting [access]; when
857
+ * it is `ready` the widget appears. Without a mounted wrapper it only
858
+ * re-checks.
859
+ */
860
+ openVerification(): Promise<TpkAccess>;
861
+ /** @internal — the wrapper registers the sheet [openVerification] opens. */
862
+ setVerificationPresenter(present: (() => Promise<void>) | null): void;
863
+ /** A 403 from the tester gate: hide the widget until cleared again. */
864
+ private onTesterGate;
865
+ /** Startup: a cached confirmation shows the widget before the network. */
866
+ private accessFromCache;
867
+ private setAccess;
868
+ /**
869
+ * Sends the SMS code. `unavailable` means the server cannot send SMS
870
+ * (no provider yet) — the host should let the report through.
871
+ */
872
+ startPhone(phone: string): Promise<{
873
+ ok: true;
874
+ verificationId: string;
875
+ devCode?: string;
876
+ } | {
877
+ ok: false;
878
+ reason: 'invalid' | 'tooMany' | 'unavailable' | 'network';
879
+ }>;
880
+ /**
881
+ * Confirms the code, bound to this device (hashed device key +
882
+ * platform, migration 077). `awaitingApproval` is true when the server
883
+ * says the person is not approved yet — the host must not open the
884
+ * report then. Only a confirmed AND approved state is remembered.
885
+ * `deviceNotAllowed`: the number is already confirmed on another
886
+ * device; an admin has to allow this one.
887
+ */
888
+ confirmPhone(verificationId: string, code: string): Promise<{
889
+ ok: true;
890
+ handle: string;
891
+ awaitingApproval: boolean;
892
+ } | {
893
+ ok: false;
894
+ reason: 'wrong' | 'expired' | 'tooMany' | 'deviceNotAllowed' | 'network';
895
+ }>;
692
896
  /**
693
897
  * This tester's in-app notifications (newest first) + the unread count —
694
898
  * powers the "Nachrichten" inbox. Mirrors the Flutter SDK.
@@ -807,12 +1011,79 @@ declare class TpkExpo {
807
1011
  dispose(): void;
808
1012
  /** Build a bug-report payload — exposed so tests can introspect. */
809
1013
  buildPayload(input: SubmitBugInput): Promise<BugReportPayload>;
1014
+ /**
1015
+ * Where the tester is now, for a report: the current screen (the
1016
+ * caller's, else the last navigation breadcrumb), the last 20
1017
+ * breadcrumbs, device and app. Every report path (bug sheet, voice,
1018
+ * shake, general and session feedback, crash) goes through
1019
+ * [buildPayload], which uses this. Never throws.
1020
+ */
1021
+ captureReportContext(currentScreen?: string): Promise<ReportContext>;
810
1022
  /** Persist crash context before attempting a best-effort upload. */
811
1023
  private captureCrash;
812
1024
  /** Auto-built crash submit — called from the cached crash flusher. */
813
1025
  private submitCrashReport;
814
1026
  }
815
1027
 
1028
+ /** The label every play-money amount carries (pilot: real bookings, no payout). */
1029
+ declare function playMoneyLabel(de: boolean): string;
1030
+ interface MoneyOverviewProps {
1031
+ tpk: Pick<TpkExpo, 'ready' | 'projectId' | 'compensation'> & {
1032
+ api: Pick<TpkExpo['api'], 'getPayoutAccount' | 'createPayoutAccountLink'>;
1033
+ };
1034
+ entryId?: string | null;
1035
+ onStartWork?: () => void;
1036
+ onEnableNotifications?: () => Promise<boolean>;
1037
+ }
1038
+ declare function MoneyOverview({ tpk, entryId, onStartWork, onEnableNotifications }: MoneyOverviewProps): React.JSX.Element;
1039
+
1040
+ type Response = {
1041
+ notification: {
1042
+ request: {
1043
+ identifier: string;
1044
+ content: {
1045
+ data?: Record<string, unknown>;
1046
+ };
1047
+ };
1048
+ };
1049
+ };
1050
+ type Subscription = {
1051
+ remove(): void;
1052
+ };
1053
+ /** Pass the host's expo-notifications module. This adapter never replaces the
1054
+ * host's global notification handler or requests permission on app launch. */
1055
+ interface ExpoNotificationsPort {
1056
+ getPermissionsAsync(): Promise<{
1057
+ granted: boolean;
1058
+ }>;
1059
+ requestPermissionsAsync(): Promise<{
1060
+ granted: boolean;
1061
+ }>;
1062
+ getExpoPushTokenAsync(options: {
1063
+ projectId: string;
1064
+ }): Promise<{
1065
+ data: string;
1066
+ }>;
1067
+ addPushTokenListener(listener: () => void): Subscription;
1068
+ addNotificationResponseReceivedListener(listener: (response: Response) => void): Subscription;
1069
+ getLastNotificationResponseAsync(): Promise<Response | null>;
1070
+ clearLastNotificationResponseAsync?(): Promise<void>;
1071
+ setNotificationChannelAsync?(id: string, options: {
1072
+ name: string;
1073
+ importance: number;
1074
+ }): Promise<unknown>;
1075
+ }
1076
+ interface CompensationPushAdapter {
1077
+ register(requestPermission: boolean): Promise<PushRegistration | null>;
1078
+ subscribe(onEntry: (id: string) => void, onTokenChanged: () => void): () => void;
1079
+ }
1080
+ declare function createCompensationPushAdapter(options: {
1081
+ notifications: ExpoNotificationsPort;
1082
+ storage: TpkStorage;
1083
+ appId: string;
1084
+ expoProjectId: string;
1085
+ }): CompensationPushAdapter;
1086
+
816
1087
  declare const INTERACTION_NAV_WEIGHT = 3;
817
1088
  declare const MIN_INTERACTIONS_PER_ACTIVE_MINUTE = 4;
818
1089
  interface EngagedMinutesInput {
@@ -892,8 +1163,22 @@ interface FloatingFeedbackButtonProps {
892
1163
  onReportBug: () => void;
893
1164
  /** Tap "Feedback". Required — general (non-bug) tester feedback. */
894
1165
  onGeneralFeedback: () => void;
895
- /** Tap "My Workboard" — opens the TesterDashboard. */
896
- onViewDashboard: () => void;
1166
+ /** Tap "My Workboard" — opens the TesterDashboard. Hidden when omitted
1167
+ * (the wrapper omits it unless the host enabled the dashboard). */
1168
+ onViewDashboard?: () => void;
1169
+ /** Tap "Mein Geld" — the money overview. Hidden when omitted. */
1170
+ onShowMyMoney?: () => void;
1171
+ /** The tester's handle, shown as "Du bist …" at the top of the menu. */
1172
+ testerHandle?: string | null;
1173
+ /** Called after the first-tap tour (if any) on a tap that would open
1174
+ * the menu. Returns true when it took the tap (the daily briefing is
1175
+ * showing; it calls `openMenu` on "Los geht's"). A throw never blocks
1176
+ * the menu. */
1177
+ onDailyBriefing?: (openMenu: () => void) => Promise<boolean>;
1178
+ /** The first-tap tour takes this tap (no briefing on top of it today). */
1179
+ onTourShown?: () => void;
1180
+ /** The menu opened (refresh counts, checklist). */
1181
+ onMenuOpened?: () => void;
897
1182
  /** Tap "End Session" — typically opens SessionEndDialog. */
898
1183
  onEndSession: () => void;
899
1184
  /** Tap "My Retests". When omitted, the row is hidden. */
@@ -906,13 +1191,14 @@ interface FloatingFeedbackButtonProps {
906
1191
  * current status). When omitted, the row is hidden. */
907
1192
  onShowMyBugs?: () => void;
908
1193
  /** Tap "Session Details" — opens the SessionDetailsSheet (taps, screens,
909
- * active vs paid minutes, expected earnings). When omitted, hidden. */
1194
+ * buffered activity diagnostics). When omitted, hidden. */
910
1195
  onShowSessionDetails?: () => void;
911
1196
  /** Tap "Nachrichten" — opens the NotificationsSheet (server-pull inbox).
912
1197
  * When omitted, the row is hidden. */
913
1198
  onShowMessages?: () => void;
914
- /** Unread-notification count shown next to "Nachrichten" (distinct from
915
- * `notificationCount`, which is the cached-crash count). */
1199
+ /** Unread-notification count shown next to "Nachrichten" and as a
1200
+ * yellow badge on the FAB itself (distinct from `notificationCount`,
1201
+ * which is the cached-crash count). */
916
1202
  unreadMessageCount?: number;
917
1203
  /** Tap "🤖 Auto Test (AI)" — opens the AI-tester surface that lets
918
1204
  * a server-side LLM drive the app for the next N actions. When
@@ -953,15 +1239,12 @@ interface FloatingFeedbackButtonProps {
953
1239
  x: number;
954
1240
  y: number;
955
1241
  };
956
- /** When the active server session started — drives the earnings
957
- * clock. Null hides the clock. */
958
- sessionStartedAt?: Date | null;
959
- /** Base reward per session. Default 1.00. */
960
- earningsBaseAmount?: number;
961
- /** Per-minute rate added on top of the base. Default 0.10. */
962
- earningsPerMinuteRate?: number;
963
- /** ISO-4217 currency code. Default 'EUR' (DACH-first). */
964
- earningsCurrency?: string;
1242
+ /** Confirmed server balance only (the ledger). Omit when no verified
1243
+ * balance is available. There are no local estimates. */
1244
+ confirmedEarnings?: {
1245
+ amountCents: number;
1246
+ currency: string;
1247
+ };
965
1248
  /** Outer style override. */
966
1249
  style?: StyleProp<ViewStyle>;
967
1250
  testID?: string;
@@ -974,7 +1257,7 @@ interface FloatingFeedbackButtonProps {
974
1257
  * wiring. A failed/absent storage degrades gracefully. */
975
1258
  tourStorage?: OnboardingStorage;
976
1259
  }
977
- declare function FloatingFeedbackButton({ onReportBug, onGeneralFeedback, onViewDashboard, onEndSession, onShowRetests, retestCount, onShowDebugLogs, onShowMyBugs, onShowSessionDetails, onShowMessages, unreadMessageCount, onAutoTest, onShowChecklist, checklistCount, onSendToClaude, onToggleLiveLink, liveLinkConnected, onLongPressVoiceBug, onFlushCachedCrashes, notificationCount, position, sessionStartedAt, earningsBaseAmount, earningsPerMinuteRate, earningsCurrency, style, testID, enableFirstTapTour, tourStorage, }: FloatingFeedbackButtonProps): React.ReactElement;
1260
+ declare function FloatingFeedbackButton({ onReportBug, onGeneralFeedback, onViewDashboard, onShowMyMoney, testerHandle, onDailyBriefing, onTourShown, onMenuOpened, onEndSession, onShowRetests, retestCount, onShowDebugLogs, onShowMyBugs, onShowSessionDetails, onShowMessages, unreadMessageCount, onAutoTest, onShowChecklist, checklistCount, onSendToClaude, onToggleLiveLink, liveLinkConnected, onLongPressVoiceBug, onFlushCachedCrashes, notificationCount, position, confirmedEarnings, style, testID, enableFirstTapTour, tourStorage, }: FloatingFeedbackButtonProps): React.ReactElement;
978
1261
 
979
1262
  type AttachmentKind = 'screenshot' | 'image' | 'video' | 'audio' | 'screen-recording' | 'log' | 'json' | 'other';
980
1263
  interface BugReportAttachmentDraft {
@@ -1050,7 +1333,8 @@ interface BugReportSheetProps {
1050
1333
  /**
1051
1334
  * Fires after [submitBugReportDraft] returns. Receives the
1052
1335
  * [SubmitBugResult] so the host can show honest UI per-outcome
1053
- * (queued / uploaded / deduplicated / failedPermanent) — fixes the
1336
+ * (queued / uploaded / deduplicated / failedPermanent /
1337
+ * phoneRequired / approvalRequired) — fixes the
1054
1338
  * 2026-05-28 "green ✓ on offline" bug.
1055
1339
  */
1056
1340
  onSubmitted?: (result: SubmitBugResult) => void;
@@ -1069,45 +1353,15 @@ interface BugReportSheetProps {
1069
1353
  /** Max attachments + total size, mirrors Flutter's safeguards. */
1070
1354
  maxAttachments?: number;
1071
1355
  maxTotalSizeMB?: number;
1356
+ /** The tester's handle — shown as "Du meldest als …" under the title. */
1357
+ reporterHandle?: string | null;
1072
1358
  style?: StyleProp<ViewStyle>;
1073
1359
  }
1074
1360
  declare function createBugReportDraft(input?: CreateBugReportDraftInput): BugReportDraft;
1075
1361
  declare function canSubmitBugReportDraft(draft: BugReportDraft): boolean;
1076
1362
  declare function submitBugReportDraft(tpk: Pick<TpkExpo, 'submitBug' | 'attachToBugReport'>, draft: BugReportDraft): Promise<SubmitBugResult>;
1077
1363
  type StepIndex = 0 | 1 | 2 | 3 | 4;
1078
- declare function BugReportSheet({ visible, tpk, currentScreen, captureRootRef, autoCaptureOnOpen, onOpenVoiceBug, onClose, onSubmitted, onError, defaultSeverity, initialDraft: initialDraftPatch, initialStep, maxAttachments, maxTotalSizeMB, style, }: BugReportSheetProps): React.ReactElement;
1079
-
1080
- interface DeviceSnapshot {
1081
- platform: 'ios' | 'android' | 'web' | 'macos' | 'windows';
1082
- osVersion?: string;
1083
- model?: string;
1084
- manufacturer?: string;
1085
- isPhysicalDevice?: boolean;
1086
- locale?: string;
1087
- }
1088
- interface AppSnapshot {
1089
- version?: string;
1090
- buildNumber?: string;
1091
- bundleId?: string;
1092
- buildMode: 'debug' | 'profile' | 'release';
1093
- /**
1094
- * Screen path that led to the bug — chronological, consecutive-deduped,
1095
- * newest last (the final entry is the screen the bug happened on).
1096
- * Mirrors the Flutter SDK's appSnapshot.navigationPath; the server +
1097
- * `tpk bug context` surface it as the navigation flow.
1098
- */
1099
- navigationPath?: string[];
1100
- }
1101
- /**
1102
- * Best-effort snapshot of the device. Uses expo-device when
1103
- * available; falls back to react-native's Platform.
1104
- */
1105
- declare function getDeviceSnapshot(): Promise<DeviceSnapshot>;
1106
- /**
1107
- * Best-effort snapshot of the host app. Uses expo-application when
1108
- * available; falls back to a build-mode-only object.
1109
- */
1110
- declare function getAppSnapshot(buildMode?: AppSnapshot['buildMode']): Promise<AppSnapshot>;
1364
+ declare function BugReportSheet({ visible, tpk, currentScreen, captureRootRef, autoCaptureOnOpen, onOpenVoiceBug, onClose, onSubmitted, onError, defaultSeverity, initialDraft: initialDraftPatch, initialStep, maxAttachments, maxTotalSizeMB, reporterHandle, style, }: BugReportSheetProps): React.ReactElement;
1111
1365
 
1112
1366
  interface InstallNetworkCaptureOptions {
1113
1367
  breadcrumbs: Breadcrumbs;
@@ -1613,12 +1867,26 @@ interface GeneralFeedbackDialogProps {
1613
1867
  }
1614
1868
  declare function GeneralFeedbackDialog({ visible, tpk, currentScreen, onClose, onSubmitted, onError, style, }: GeneralFeedbackDialogProps): React.ReactElement;
1615
1869
 
1870
+ interface PhoneConfirmSheetProps {
1871
+ visible: boolean;
1872
+ tpk: Pick<TpkExpo, 'startPhone' | 'confirmPhone'> | null;
1873
+ /**
1874
+ * Confirmed (handle) or skipped because SMS is unavailable (null).
1875
+ * `awaitingApproval`: confirmed, but the account still waits for
1876
+ * approval — the host must not open the report.
1877
+ */
1878
+ onDone: (handle: string | null, awaitingApproval?: boolean) => void;
1879
+ /** Tester closed the sheet: the report does not open. */
1880
+ onCancel: () => void;
1881
+ }
1882
+ declare function PhoneConfirmSheet({ visible, tpk, onDone, onCancel, }: PhoneConfirmSheetProps): React.ReactElement;
1883
+
1616
1884
  type MaterialIconName = string;
1617
1885
  /**
1618
1886
  * Semantic icon names used by the SDK. Map to MaterialIcons glyph
1619
1887
  * names by default; consumers can override via TpkIconsContext.
1620
1888
  */
1621
- type TpkIconName = 'bug_report' | 'feedback' | 'dashboard' | 'session_end' | 'voice' | 'voice_off' | 'close' | 'check' | 'star_filled' | 'star_outline' | 'camera' | 'image' | 'attachment' | 'music_note' | 'language' | 'rocket' | 'lightbulb' | 'trend_up' | 'frown' | 'smile' | 'palette' | 'speed_slow' | 'crash' | 'sparkle' | 'cloud_upload' | 'refresh' | 'edit_pen' | 'shape_rect' | 'shape_circle' | 'shape_arrow' | 'text' | 'blur' | 'link' | 'link_off' | 'send';
1889
+ type TpkIconName = 'bug_report' | 'feedback' | 'dashboard' | 'session_end' | 'voice' | 'voice_off' | 'close' | 'check' | 'star_filled' | 'star_outline' | 'camera' | 'image' | 'attachment' | 'music_note' | 'language' | 'rocket' | 'lightbulb' | 'trend_up' | 'frown' | 'smile' | 'palette' | 'speed_slow' | 'crash' | 'sparkle' | 'cloud_upload' | 'refresh' | 'edit_pen' | 'shape_rect' | 'shape_circle' | 'shape_arrow' | 'text' | 'blur' | 'link' | 'link_off' | 'send' | 'person' | 'money';
1622
1890
  type TpkIconOverrideMap = Partial<Record<TpkIconName, MaterialIconName>>;
1623
1891
  declare function TpkIconsProvider({ icons, children, }: {
1624
1892
  icons: TpkIconOverrideMap;
@@ -1688,6 +1956,12 @@ interface TpkStrings {
1688
1956
  menuDebugLogs: string;
1689
1957
  menuEndSession: string;
1690
1958
  menuSessionEarnings: string;
1959
+ menuMyMoney: string;
1960
+ menuYouAre: (handle: string) => string;
1961
+ unreadBadgeA11y: (count: number) => string;
1962
+ verifyOfflineTitle: string;
1963
+ verifyOffline: string;
1964
+ verifiedNow: string;
1691
1965
  menuOpen: string;
1692
1966
  menuClose: string;
1693
1967
  reportTitle: string;
@@ -1758,6 +2032,11 @@ interface TpkStrings {
1758
2032
  reviewAttachments: string;
1759
2033
  reviewEmpty: string;
1760
2034
  errorRejected: string;
2035
+ /** 403 phone_required (migration 077). */
2036
+ errorPhoneRequired: string;
2037
+ /** 403 approval_required — also the wrapper's waiting notice. */
2038
+ awaitingApproval: string;
2039
+ awaitingApprovalTitle: string;
1761
2040
  errorFailed: string;
1762
2041
  errorAttachmentLimit: (max: number) => string;
1763
2042
  errorAttachmentSize: (maxMB: number) => string;
@@ -1926,6 +2205,7 @@ interface VoiceBugStrings {
1926
2205
  idleDescription?: string;
1927
2206
  recordingHeadline?: string;
1928
2207
  recordingDescription?: string;
2208
+ recordingLimitNotice?: string;
1929
2209
  processingHeadline?: string;
1930
2210
  processingDescription?: string;
1931
2211
  errorHeadline?: string;
@@ -1954,7 +2234,7 @@ interface VoiceBugInputSheetProps {
1954
2234
  * (Bug / Feature / Idea / Issue). The host typically passes both
1955
2235
  * on to BugReportSheet's initialDraft prop. */
1956
2236
  onExtracted: (result: VoiceExtractResult, classification: VoiceClassification) => void;
1957
- /** Max recording length in seconds. Default 60. */
2237
+ /** Max recording length in seconds. Default 180. */
1958
2238
  maxSeconds?: number;
1959
2239
  /** Accent colour for the mic + active chip. Default `#D83232`
1960
2240
  * (bug-red). Hosts that want a brand-tint can override. */
@@ -1994,10 +2274,12 @@ interface VoiceBugInputSheetProps {
1994
2274
  captureScreen?: () => Promise<string | null>;
1995
2275
  /** Screen name sent along with a quick action (model context). */
1996
2276
  currentScreen?: string;
2277
+ /** The tester's handle — shown as "Du meldest als …" in the sheet. */
2278
+ reporterHandle?: string | null;
1997
2279
  style?: StyleProp<ViewStyle>;
1998
2280
  testID?: string;
1999
2281
  }
2000
- declare function VoiceBugInputSheet({ visible, tpk, onCancel, onExtracted, maxSeconds, accentColor, sheetOpacity, voiceLanguage, strings, captureScreen, currentScreen, style, testID, }: VoiceBugInputSheetProps): React.ReactElement;
2282
+ declare function VoiceBugInputSheet({ visible, tpk, onCancel, onExtracted, maxSeconds, accentColor, sheetOpacity, voiceLanguage, strings, captureScreen, currentScreen, reporterHandle, style, testID, }: VoiceBugInputSheetProps): React.ReactElement;
2001
2283
  /** Maps the sheet's classification onto the BugReportSheet's
2002
2284
  * BugReportType union. Exported so the host can call it when
2003
2285
  * building the initialDraft for the bug sheet. */
@@ -2042,12 +2324,8 @@ interface SessionDetailsSheetProps {
2042
2324
  visible: boolean;
2043
2325
  tpk: TpkExpo | null;
2044
2326
  onClose: () => void;
2045
- /** Earnings model (defaults match the FAB header + Flutter screen). */
2046
- earningsBaseAmount?: number;
2047
- earningsPerMinuteRate?: number;
2048
- earningsCurrency?: string;
2049
2327
  }
2050
- declare function SessionDetailsSheet({ visible, tpk, onClose, earningsBaseAmount, earningsPerMinuteRate, earningsCurrency, }: SessionDetailsSheetProps): React.ReactElement;
2328
+ declare function SessionDetailsSheet({ visible, tpk, onClose, }: SessionDetailsSheetProps): React.ReactElement;
2051
2329
 
2052
2330
  interface StatusStyle {
2053
2331
  label: string;
@@ -2062,13 +2340,14 @@ declare function bugSeverityLabel(severity?: string | null, language?: TpkLangua
2062
2340
 
2063
2341
  interface NotificationsSheetProps {
2064
2342
  visible: boolean;
2065
- tpk: TpkExpo | null;
2343
+ tpk: Pick<TpkExpo, 'getNotifications' | 'markNotificationsRead'> | null;
2066
2344
  onClose: () => void;
2067
2345
  /** Called with the new unread count after load + after marking read, so
2068
2346
  * the host can refresh the FAB badge. */
2069
2347
  onUnreadChange?: (count: number) => void;
2348
+ onMoneyEntry?: (entryId: string) => void;
2070
2349
  }
2071
- declare function NotificationsSheet({ visible, tpk, onClose, onUnreadChange, }: NotificationsSheetProps): React.ReactElement;
2350
+ declare function NotificationsSheet({ visible, tpk, onClose, onUnreadChange, onMoneyEntry, }: NotificationsSheetProps): React.ReactElement;
2072
2351
 
2073
2352
  interface InviteCodeScreenProps {
2074
2353
  visible: boolean;
@@ -2084,8 +2363,9 @@ declare function InviteCodeScreen({ visible, tpk, onSuccess, onClose, projectNam
2084
2363
 
2085
2364
  interface TesterPayKitWrapperProps {
2086
2365
  children: ReactNode;
2087
- /** Initialized TpkExpo client. When null, the FAB still renders
2088
- * but every action that needs the server stays disabled. */
2366
+ /** Initialized TpkExpo client. The widget (FAB, shake, sheets) only
2367
+ * appears while `tpk.access === 'ready'`: a confirmed number and an
2368
+ * approval. Without a client nothing from TPK is shown. */
2089
2369
  tpk: TpkExpo | null;
2090
2370
  /** Master switch. When false the wrapper renders `children`
2091
2371
  * unchanged — same shape as Flutter's `enableWrapper: false`
@@ -2108,7 +2388,18 @@ interface TesterPayKitWrapperProps {
2108
2388
  retestCount?: number;
2109
2389
  /** Replaces the built-in retest sheet. */
2110
2390
  onShowRetests?: () => void;
2391
+ /** Replaces the built-in "My work" overview behind the dashboard entry. */
2111
2392
  onViewDashboard?: () => void;
2393
+ /** Whether the menu offers the tester dashboard ("My work"). Default
2394
+ * true, like the Flutter SDK's `enableTesterDashboard`. */
2395
+ enableTesterDashboard?: boolean;
2396
+ /** False for unpaid tests: no amounts in the menu and the daily
2397
+ * briefing, no bug-bonus hint after sending. Presentation only.
2398
+ * Default true. */
2399
+ showCompensation?: boolean;
2400
+ /** Whether the menu offers "Debug Logs" (with `onShowDebugLogs`).
2401
+ * Default: development builds only (`__DEV__`). */
2402
+ showDebugLogs?: boolean;
2112
2403
  /** Initial position of the floating feedback button (top-left corner
2113
2404
  * of the 56×56 FAB). Default (16, 100). Testers can still drag it —
2114
2405
  * this only sets where it starts, e.g. bottom-left above a host tab
@@ -2144,10 +2435,12 @@ interface TesterPayKitWrapperProps {
2144
2435
  enableLiveLink?: boolean;
2145
2436
  /** Currently active route — flows through to bug reports. */
2146
2437
  currentScreen?: string;
2147
- /** When the session started — drives the earnings clock + the
2438
+ /** When the session started — provides context for the
2148
2439
  * duration tile on SessionEndDialog. Auto-stamps to mount-time
2149
2440
  * if omitted. */
2150
2441
  sessionStartedAt?: Date;
2442
+ /** Optional host notification integration; permission is requested only from the money screen. */
2443
+ compensationPush?: CompensationPushAdapter;
2151
2444
  /** Optional brand-tint overrides. Unset tokens fall back to the
2152
2445
  * bug-red + slate defaults. See `TpkTheme` for the four
2153
2446
  * supported tokens. */
@@ -2158,7 +2451,7 @@ interface TesterPayKitWrapperProps {
2158
2451
  language?: TpkLanguage;
2159
2452
  testID?: string;
2160
2453
  }
2161
- declare function TesterPayKitWrapper({ children, tpk, enableWrapper, enableShake, shakeThresholdG, style, onShowDebugLogs, notificationCount, onFlushCachedCrashes, retestCount, onShowRetests, onViewDashboard, buttonPosition, currentScreen, sessionStartedAt, aiCoordinatorToken, aiRemoteTrigger, aiRemotePollSeconds, enableLiveLink, aiProjectId, aiApiBaseUrl, theme, language, testID, }: TesterPayKitWrapperProps): React.ReactElement;
2454
+ declare function TesterPayKitWrapper({ children, tpk, enableWrapper, enableShake, shakeThresholdG, style, onShowDebugLogs, notificationCount, onFlushCachedCrashes, retestCount, onShowRetests, onViewDashboard, enableTesterDashboard, showCompensation, showDebugLogs, buttonPosition, currentScreen, sessionStartedAt, compensationPush, aiCoordinatorToken, aiRemoteTrigger, aiRemotePollSeconds, enableLiveLink, aiProjectId, aiApiBaseUrl, theme, language, testID, }: TesterPayKitWrapperProps): React.ReactElement;
2162
2455
 
2163
2456
  type LiveLinkStatus = 'off' | 'connecting' | 'connected';
2164
2457
  /** The part of the WebSocket API the link uses (lets tests fake it). */
@@ -2240,7 +2533,8 @@ type Rect = {
2240
2533
  /**
2241
2534
  * Everything readable below `root`, top-to-bottom. Entries that measure
2242
2535
  * as zero-sized or outside the window (detached / hidden screens) are
2243
- * dropped; entries that cannot be measured keep tree order at (0, 0).
2536
+ * dropped. Unmeasurable entries are omitted because their visibility cannot
2537
+ * be verified.
2244
2538
  */
2245
2539
  declare function readScreenTexts(root: FiberLike | null): Promise<ScreenText[]>;
2246
2540
 
@@ -2657,5 +2951,5 @@ declare function useTpkEarnings(tpk: TpkExpo | null, options?: {
2657
2951
  payoutLimit?: number;
2658
2952
  }): UseEarningsResult;
2659
2953
 
2660
- export { ANNOTATION_PALETTE, AttachmentQueue, Breadcrumbs, BugReportSheet, ChecklistPanel, CrashQueue, DEFAULT_STYLE, DEFAULT_TPK_THEME, DENY_LABEL_PATTERNS, ExpoStorage, FloatingFeedbackButton, GeneralFeedbackDialog, INTERACTION_NAV_WEIGHT, InviteCodeScreen, LiveNoteDialog, MIN_INTERACTIONS_PER_ACTIVE_MINUTE, MyBugsSheet, NotificationsSheet, ONBOARDING_DONE_STORAGE_KEY, RetestSheet, SCREENSHOT_CONSENT_STORAGE_KEY, ScreenRecorder, ScreenshotAnnotationEditor, SessionDetailsSheet, SessionEndDialog, SubmitQueue, TPK_STRINGS, TaskAnnotationRegistry, TesterDashboard, TesterPayKitProvider, TesterPayKitWrapper, TpkAnnotated, TpkAnnotationOverlay, TpkExpo, TpkIcon, TpkIconsProvider, TpkLanguageProvider, TpkLiveLink, TpkOnboarding, TpkSensitive, TpkTalker, TpkThemeProvider, TpkWelcomeSheet, VoiceBugInputSheet, VoiceNoteRecorder, WELCOME_ACK_STORAGE_KEY, WIDGET_TOUR_SEEN_STORAGE_KEY, WidgetDiscovery, WidgetTour, annotations, applySensitiveRedaction, arrowHeadPoints, beginNativeCapture, bugSeverityLabel, bugStatusStyle, canSubmitBugReportDraft, captureLiveSnapshot, captureView, classificationToBugType, createBugReportDraft, deriveTaskProgress, detectDeviceLanguage, emptyAnnotationDoc, endNativeCapture, engagedMinutes, extractVoiceBug, findAssignmentForTask, formatTpkMoney, getAppSnapshot, getDeviceSnapshot, getEventCounts, getNativeCaptureMode, getSessionStats, getUniqueScreens, hasCompletedOnboarding, hasScreenshotConsent, hasSeenWidgetTour, hasWelcomeBriefBeenSeen, installCrashHandler, installNetworkCapture, loadChecklist, markOnboardingComplete, markWelcomeBriefAsSeen, markWidgetTourSeen, parseLiveAction, parseVersionRange, pathToSvgD, quickDraftBug, readLiveState, readScreenTexts, resetOnboardingState, resetWelcomeBriefAck, resetWidgetTourSeen, runLiveAction, simplifyPath, submitBugReportDraft, subscribeNativeCaptureMode, toStepResults, uploadScreenshotAttachment, useShake, useTaskAnnotation, useTesterPayKit, useTpkDashboard, useTpkEarnings, useTpkLanguage, useTpkStrings, useTpkTheme, useTr, versionSatisfies, widgetDiscovery, withNativeCapture };
2661
- export type { AnnotatedElementInfo, AnnotatedScreenshotResult, AnnotationColor, AnnotationEvent, AnnotationEventType, AnnotationInteraction, AnnotationListener, AnnotationShape, AnnotationStyle, AnnotationTool, AppSnapshot, ArrowShape, AttachmentQueueFlushOptions, BlurShape, Breadcrumb, BugFix, BugReportDraft, BugReportSheetProps, BuildInfo, CachedCrash, CaptureViewOptions, ChecklistPanelProps, CircleShape, CompletionTrigger, CrashHandlerOptions, CrashInfo, CreateBugReportDraftInput, DashboardData, DeviceSnapshot, DiscoverOptions, EarningsData, EngagedMinutesInput, FeedbackCategory, FloatingFeedbackButtonProps, FlushTelemetryResult, FocusArea, GeneralFeedbackDialogProps, InstallNetworkCaptureOptions, InteractionBounds, InteractionType, InviteCodeScreenProps, LiveAction, LiveActionEnv, LiveActionResult, LiveLinkStatus, LiveNoteDialogProps, LiveSnapshotSource, LiveSocket, MyBugsSheetProps, NotificationsSheetProps, OnboardingStorage, PathShape, PeriodFilter, Point, QueueFlushOptions, QueueFlushResult, QuickActionKind, RecordInteractionDetails, RecordingOptions, RecordingResult, RecordingState, RectShape, RegisterAnnotationInput, ReleaseNote, RetestSheetProps, ScreenText, ScreenshotAnnotationEditorProps, ScreenshotResult, SensitiveMaskingMode, SessionDetailsSheetProps, SessionEndDialogProps, SessionEndStats, SessionStatsSnapshot, StatusStyle, StepDraft, SubmitBugInput, TaskAnnotation, TaskInteractionSummary, TaskProgress, TesterDashboardProps, TesterPayKitContextValue, TesterPayKitProviderProps, TesterPayKitWrapperProps, TextShape, TpkAnnotatedProps, TpkAnnotationOverlayHandle, TpkAnnotationOverlayProps, TpkExpoConfig, TpkIconName, TpkIconOverrideMap, TpkIconProps, TpkLanguage, TpkLiveLinkOptions, TpkLogEntry, TpkLogLevel, TpkOnboardingProps, TpkSensitiveProps, TpkStorage, TpkStrings, TpkTalkerListener, TpkTalkerOptions, TpkTheme, TpkWelcomeSheetProps, UseDashboardResult, UseEarningsResult, UseShakeOptions, UseTaskAnnotationOptions, UseTaskAnnotationResult, VersionRange, VoiceBugInputSheetProps, VoiceBugStrings, VoiceClassification, VoiceExtractAudio, VoiceExtractResult, VoiceNoteFileReader, VoiceNoteRecorderLike, VoiceNoteRecorderOptions, VoiceNoteResult, VoiceNoteState, WelcomeAckStorage, WelcomeBrief, WelcomeTask, WidgetInfo, WidgetTourProps };
2954
+ export { ANNOTATION_PALETTE, AttachmentQueue, Breadcrumbs, BugReportSheet, ChecklistPanel, CompensationClient, CrashQueue, DEFAULT_STYLE, DEFAULT_TPK_THEME, DENY_LABEL_PATTERNS, ExpoStorage, FloatingFeedbackButton, GeneralFeedbackDialog, INTERACTION_NAV_WEIGHT, InviteCodeScreen, LiveNoteDialog, MIN_INTERACTIONS_PER_ACTIVE_MINUTE, MoneyOverview, MyBugsSheet, NotificationsSheet, ONBOARDING_DONE_STORAGE_KEY, PhoneConfirmSheet, RetestSheet, SCREENSHOT_CONSENT_STORAGE_KEY, ScreenRecorder, ScreenshotAnnotationEditor, SessionDetailsSheet, SessionEndDialog, SubmitQueue, TPK_STRINGS, TaskAnnotationRegistry, TesterDashboard, TesterPayKitProvider, TesterPayKitWrapper, TpkAnnotated, TpkAnnotationOverlay, TpkExpo, TpkIcon, TpkIconsProvider, TpkLanguageProvider, TpkLiveLink, TpkOnboarding, TpkSensitive, TpkTalker, TpkThemeProvider, TpkWelcomeSheet, VoiceBugInputSheet, VoiceNoteRecorder, WELCOME_ACK_STORAGE_KEY, WIDGET_TOUR_SEEN_STORAGE_KEY, WidgetDiscovery, WidgetTour, annotations, applySensitiveRedaction, arrowHeadPoints, beginNativeCapture, bugSeverityLabel, bugStatusStyle, canSubmitBugReportDraft, captureLiveSnapshot, captureView, classificationToBugType, createBugReportDraft, createCompensationPushAdapter, deriveTaskProgress, detectDeviceLanguage, emptyAnnotationDoc, endNativeCapture, engagedMinutes, extractVoiceBug, findAssignmentForTask, formatTpkMoney, getAppSnapshot, getDeviceSnapshot, getEventCounts, getNativeCaptureMode, getSessionStats, getUniqueScreens, hasCompletedOnboarding, hasScreenshotConsent, hasSeenWidgetTour, hasWelcomeBriefBeenSeen, installCrashHandler, installNetworkCapture, loadChecklist, markOnboardingComplete, markWelcomeBriefAsSeen, markWidgetTourSeen, parseLiveAction, parseVersionRange, pathToSvgD, playMoneyLabel, quickDraftBug, readLiveState, readScreenTexts, resetOnboardingState, resetWelcomeBriefAck, resetWidgetTourSeen, runLiveAction, simplifyPath, submitBugReportDraft, subscribeNativeCaptureMode, toStepResults, uploadScreenshotAttachment, useShake, useTaskAnnotation, useTesterPayKit, useTpkDashboard, useTpkEarnings, useTpkLanguage, useTpkStrings, useTpkTheme, useTr, versionSatisfies, widgetDiscovery, withNativeCapture, workSeconds };
2955
+ export type { AnnotatedElementInfo, AnnotatedScreenshotResult, AnnotationColor, AnnotationEvent, AnnotationEventType, AnnotationInteraction, AnnotationListener, AnnotationShape, AnnotationStyle, AnnotationTool, AppSnapshot, ArrowShape, AttachmentQueueFlushOptions, BlurShape, Breadcrumb, BugFix, BugReportDraft, BugReportSheetProps, BuildInfo, CachedCrash, CaptureViewOptions, ChecklistPanelProps, CircleShape, CompensationPushAdapter, CompletionTrigger, CrashHandlerOptions, CrashInfo, CreateBugReportDraftInput, DashboardData, DeviceSnapshot, DiscoverOptions, EarningsData, EngagedMinutesInput, ExpoNotificationsPort, FeedbackCategory, FloatingFeedbackButtonProps, FlushTelemetryResult, FocusArea, GeneralFeedbackDialogProps, InstallNetworkCaptureOptions, InteractionBounds, InteractionType, InviteCodeScreenProps, LiveAction, LiveActionEnv, LiveActionResult, LiveLinkStatus, LiveNoteDialogProps, LiveSnapshotSource, LiveSocket, MoneyOverviewProps, MyBugsSheetProps, NotificationsSheetProps, OnboardingStorage, PathShape, PeriodFilter, PhoneConfirmSheetProps, Point, QueueFlushOptions, QueueFlushResult, QuickActionKind, RecordInteractionDetails, RecordingOptions, RecordingResult, RecordingState, RectShape, RegisterAnnotationInput, ReleaseNote, RetestSheetProps, ScreenText, ScreenshotAnnotationEditorProps, ScreenshotResult, SensitiveMaskingMode, SessionDetailsSheetProps, SessionEndDialogProps, SessionEndStats, SessionStatsSnapshot, StatusStyle, StepDraft, SubmitBugInput, SubmitBugOutcome, SubmitBugResult, TaskAnnotation, TaskInteractionSummary, TaskProgress, TesterDashboardProps, TesterPayKitContextValue, TesterPayKitProviderProps, TesterPayKitWrapperProps, TextShape, TpkAccess, TpkAnnotatedProps, TpkAnnotationOverlayHandle, TpkAnnotationOverlayProps, TpkExpoConfig, TpkIconName, TpkIconOverrideMap, TpkIconProps, TpkLanguage, TpkLiveLinkOptions, TpkLogEntry, TpkLogLevel, TpkOnboardingProps, TpkSensitiveProps, TpkStorage, TpkStrings, TpkTalkerListener, TpkTalkerOptions, TpkTheme, TpkWelcomeSheetProps, UseDashboardResult, UseEarningsResult, UseShakeOptions, UseTaskAnnotationOptions, UseTaskAnnotationResult, VersionRange, VoiceBugInputSheetProps, VoiceBugStrings, VoiceClassification, VoiceExtractAudio, VoiceExtractResult, VoiceNoteFileReader, VoiceNoteRecorderLike, VoiceNoteRecorderOptions, VoiceNoteResult, VoiceNoteState, WelcomeAckStorage, WelcomeBrief, WelcomeTask, WidgetInfo, WidgetTourProps };