import { Beat, RepeatingTransaction, Transaction } from '../../../core'; interface SubscriptionContext { /** `recurringTransactionsStore.repeatingTransactions`, with linked transactions when augmented. */ repeatingTransactions: RepeatingTransaction[]; /** `transactionStore.transactions`, consulted to walk a transaction to its repeating transaction. */ transactions: Transaction[]; } /** * Which repeating transaction the beat is about, or `undefined` if it cannot tell. * * The direct pointer wins: `primary_repeating_transaction_guid` on the V2 payload, then on the legacy * beat envelope (Upcoming Subscription, WEC-1469; Subscription Price Increase, WEC-1470, see open * question 3 in docs/action-blocks/recurring-transaction-block.md). Failing that, the beat's primary * transaction is walked to the repeating transaction it is linked to: the hydrated * `beat.primary_transaction` first, then the transaction store, then each repeating transaction's * own linked `transactions`. */ export declare const resolveSubscriptionGuid: (beat: Beat, { repeatingTransactions, transactions }: SubscriptionContext) => string | undefined; export {};