/** Keep every target shown because source changes and invoice refreshes can replace it. */ export declare function registerQrPaymentTarget(checkoutId: string, paymentTarget: string): void; /** Mark only notifications correlated to a target shown by this QR session. */ export declare function markQrNotificationObserved(checkoutId: string, notificationPaymentTarget: string | null, notificationCreatedAtMs: number): boolean; /** * Returns whether the modal observed a QR notification and clears the record. * Call this only for a terminal modal close; soft-hides must preserve it so the * same checkout can resume without losing the observation. */ export declare function consumeQrNotificationObserved(checkoutId: string): boolean;