import { CtaContext } from './types'; export declare const ctaHandlers: { /** `PUT user_insight_profile` (designate emergency savings, thresholds, safety net). */ updateUserInsightProfile: (ctx: CtaContext) => Promise; /** `PUT offers/:guid` flagging a marketing offer as clicked. */ markOfferClicked: ({ beat, stores }: CtaContext) => Promise; /** * `PUT repeating_transactions/:guid` writing `user_response`. Resolves the repeating * transaction from `params.repeatingTransactionGuid`, else the beat's primary transaction. */ updateRepeatingTransactionResponse: (ctx: CtaContext) => Promise; /** `PUT accounts/:guid` merging `params.fields`; `params.accountGuid` picks the account, else the beat's primary. */ updateAccountField: (ctx: CtaContext) => Promise; /** `PUT notification_profiles/:guid` setting `threshold` on the named profile. */ updateNotificationProfileThreshold: (ctx: CtaContext) => Promise; /** `POST budgets` for `params.categoryGuid` with `params.amount` (+ optional parentGuid). */ createBudget: (ctx: CtaContext) => Promise; /** `PUT budgets/:guid` setting `amount`. */ updateBudget: (ctx: CtaContext) => Promise; /** `DELETE budgets/:guid`. */ deleteBudget: (ctx: CtaContext) => Promise; /** `POST merchant_budgets`. */ createMerchantBudget: (ctx: CtaContext) => Promise; /** `PUT merchant_budgets/:guid` setting `amount`. */ updateMerchantBudget: (ctx: CtaContext) => Promise; /** `DELETE merchant_budgets/:guid`. */ deleteMerchantBudget: (ctx: CtaContext) => Promise; /** * `PUT transactions/:guid` merging `params.fields` (category_guid, date, memo, * description, is_hidden...). Resolves the transaction from `params.transactionGuid`, * else the beat's primary transaction guid. */ updateTransactionField: (ctx: CtaContext) => Promise; /** `POST`/`PUT transaction_rules` so `params.categoryGuid` applies to future matches. */ applyTransactionRule: (ctx: CtaContext) => Promise; delegateToHost: (ctx: CtaContext) => Promise; }; /** A registered handler name. */ export type CtaHandlerName = keyof typeof ctaHandlers;