import { AccountStore, AnalyticsStore, AppDataStore, BeatStore, BudgetsStore, CashflowStore, CategoryStore, ConnectStore, DebtsStore, FinstrongStore, GlobalCopyStore, GlobalUiStore, GoalStore, HelpStore, HoldingStore, InsightsV2Store, MerchantStore, NetWorthStore, NotificationStore, RecurringTransactionsStore, SettingsStore, TransactionStore, TrendsStore, UserStore } from '../stores'; import { Account, Category, Institution, Member, AppConfig, AppData, Beat, GlobalCaptureException, GlobalErrorHandler, MerchantBudget, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types'; interface LoadDataProps { accounts?: Account[]; appData?: AppData; associatedBeats?: Beat[]; categories?: Category[]; institutions?: Institution[]; members?: Member[]; merchantBudgets?: MerchantBudget[]; taggings?: Tagging[]; tags?: Tag[]; transactionRules?: TransactionRule[]; transactions?: Transaction[]; userFeatures?: UserFeature[]; } type OnStoreUpdate = (update: ObservedUpdate) => void; type ObservedUpdate = { transactions: Transaction[]; }; export declare class GlobalStore { appConfig: AppConfig; endpoint: string; sessionToken: string; onCaptureException?: GlobalCaptureException; onError?: GlobalErrorHandler; onStoreUpdate?: OnStoreUpdate; accountStore: AccountStore; appDataStore: AppDataStore; analyticsStore: AnalyticsStore; beatStore: BeatStore; budgetsStore: BudgetsStore; cashflowStore: CashflowStore; categoryStore: CategoryStore; connectStore: ConnectStore; copyStore: GlobalCopyStore; debtsStore: DebtsStore; finstrongStore: FinstrongStore; goalStore: GoalStore; helpStore: HelpStore; holdingStore: HoldingStore; merchantStore: MerchantStore; netWorthStore: NetWorthStore; notificationStore: NotificationStore; recurringTransactionsStore: RecurringTransactionsStore; settingsStore: SettingsStore; transactionStore: TransactionStore; trendsStore: TrendsStore; userStore: UserStore; globalUiStore: GlobalUiStore; insightsV2Store: InsightsV2Store; constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate, onCaptureException?: GlobalCaptureException); get isInitialized(): boolean; captureException: (error: unknown, context?: Record) => void; emitUpdate: (change: ObservedUpdate) => void; loadConfigData: () => Promise; loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, merchantBudgets, }?: LoadDataProps) => Promise; } export {};