@layerfi/components 0.1.94 → 0.1.95-alpha

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
@@ -58,9 +58,8 @@ declare module '@layerfi/components/api/layer/bankTransactions' {
58
58
  };
59
59
  };
60
60
  };
61
- type GetBankTransactionsParams = {
61
+ type GetBankTransactionsBaseParams = {
62
62
  businessId: string;
63
- cursor?: string;
64
63
  categorized?: boolean;
65
64
  descriptionFilter?: string;
66
65
  direction?: 'INFLOW' | 'OUTFLOW';
@@ -70,8 +69,12 @@ declare module '@layerfi/components/api/layer/bankTransactions' {
70
69
  sortOrder?: 'ASC' | 'DESC';
71
70
  sortBy?: string;
72
71
  };
72
+ type GetBankTransactionsPaginatedParams = GetBankTransactionsBaseParams & {
73
+ cursor?: string;
74
+ limit?: number;
75
+ };
73
76
  export const getBankTransactions: (baseUrl: string, accessToken: string | undefined, options?: {
74
- params?: GetBankTransactionsParams | undefined;
77
+ params?: GetBankTransactionsPaginatedParams | undefined;
75
78
  } | undefined) => () => Promise<GetBankTransactionsReturn>;
76
79
  export const categorizeBankTransaction: (baseUrl: string, accessToken: string | undefined, options?: {
77
80
  params?: Record<string, string | undefined> | undefined;
@@ -90,26 +93,10 @@ declare module '@layerfi/components/api/layer/bankTransactions' {
90
93
  data: BankTransactionMatch;
91
94
  errors: unknown;
92
95
  }>;
93
- export interface GetBankTransactionsExportParams extends Record<string, string | undefined> {
94
- businessId: string;
95
- startDate?: string;
96
- endDate?: string;
97
- categorized?: 'true' | 'false';
98
- category?: string;
99
- month?: string;
100
- year?: string;
101
- }
102
- export const getBankTransactionsCsv: (baseUrl: string, accessToken: string | undefined, options?: {
103
- params?: Record<string, string | undefined> | undefined;
104
- } | undefined) => () => Promise<{
105
- data?: S3PresignedUrl;
106
- error?: unknown;
107
- }>;
108
96
  export const getBankTransactionsExcel: (baseUrl: string, accessToken: string | undefined, options?: {
109
- params?: Record<string, string | undefined> | undefined;
97
+ params?: GetBankTransactionsBaseParams | undefined;
110
98
  } | undefined) => () => Promise<{
111
- data?: S3PresignedUrl;
112
- error?: unknown;
99
+ data: S3PresignedUrl;
113
100
  }>;
114
101
  export const getBankTransactionMetadata: (baseUrl: string, accessToken: string | undefined, options?: {
115
102
  params?: Record<string, string | undefined> | undefined;
@@ -692,18 +679,6 @@ declare module '@layerfi/components/api/layer' {
692
679
  } | undefined) => () => Promise<{
693
680
  data: import("@layerfi/components/types/general").S3PresignedUrl;
694
681
  }>;
695
- getBankTransactionsCsv: (baseUrl: string, accessToken: string | undefined, options?: {
696
- params?: Record<string, string | undefined> | undefined;
697
- } | undefined) => () => Promise<{
698
- data?: import("@layerfi/components/types/general").S3PresignedUrl;
699
- error?: unknown;
700
- }>;
701
- getBankTransactionsExcel: (baseUrl: string, accessToken: string | undefined, options?: {
702
- params?: Record<string, string | undefined> | undefined;
703
- } | undefined) => () => Promise<{
704
- data?: import("@layerfi/components/types/general").S3PresignedUrl;
705
- error?: unknown;
706
- }>;
707
682
  getBankTransactionMetadata: (baseUrl: string, accessToken: string | undefined, options?: {
708
683
  params?: Record<string, string | undefined> | undefined;
709
684
  } | undefined) => () => Promise<{
@@ -1281,6 +1256,10 @@ declare module '@layerfi/components/components/BankTransactionList/BankTransacti
1281
1256
  export const BankTransactionListItem: ({ index, dateFormat, bankTransaction, editable, showDescriptions, showReceiptUploads, showTooltips, containerWidth, removeTransaction, stringOverrides, }: Props) => import("react/jsx-runtime").JSX.Element;
1282
1257
  export {};
1283
1258
 
1259
+ }
1260
+ declare module '@layerfi/components/components/BankTransactionList/BankTransactionProcessingInfo' {
1261
+ export const BankTransactionProcessingInfo: () => import("react/jsx-runtime").JSX.Element;
1262
+
1284
1263
  }
1285
1264
  declare module '@layerfi/components/components/BankTransactionList/index' {
1286
1265
  export { BankTransactionList } from '@layerfi/components/components/BankTransactionList/BankTransactionList';
@@ -1362,10 +1341,11 @@ declare module '@layerfi/components/components/BankTransactionMobileList/Busines
1362
1341
  }
1363
1342
  declare module '@layerfi/components/components/BankTransactionMobileList/MatchForm' {
1364
1343
  import { BankTransaction } from '@layerfi/components/types';
1365
- export const MatchForm: ({ bankTransaction, showReceiptUploads, showDescriptions, }: {
1344
+ export const MatchForm: ({ bankTransaction, showReceiptUploads, showDescriptions, showCategorization, }: {
1366
1345
  bankTransaction: BankTransaction;
1367
1346
  showReceiptUploads?: boolean;
1368
1347
  showDescriptions?: boolean;
1348
+ showCategorization?: boolean;
1369
1349
  }) => import("react/jsx-runtime").JSX.Element;
1370
1350
 
1371
1351
  }
@@ -1375,8 +1355,9 @@ declare module '@layerfi/components/components/BankTransactionMobileList/Persona
1375
1355
  bankTransaction: BankTransaction;
1376
1356
  showReceiptUploads?: boolean;
1377
1357
  showDescriptions?: boolean;
1358
+ showCategorization?: boolean;
1378
1359
  }
1379
- export const PersonalForm: ({ bankTransaction, showReceiptUploads, showDescriptions, }: PersonalFormProps) => import("react/jsx-runtime").JSX.Element;
1360
+ export const PersonalForm: ({ bankTransaction, showReceiptUploads, showDescriptions, showCategorization, }: PersonalFormProps) => import("react/jsx-runtime").JSX.Element;
1380
1361
  export {};
1381
1362
 
1382
1363
  }
@@ -1426,40 +1407,6 @@ declare module '@layerfi/components/components/BankTransactionMobileList/constan
1426
1407
  EXPENSES = "PERSONAL_EXPENSES"
1427
1408
  }
1428
1409
 
1429
- }
1430
- declare module '@layerfi/components/components/BankTransactionMobileList/index' {
1431
- export { BankTransactionMobileList } from '@layerfi/components/components/BankTransactionMobileList/BankTransactionMobileList';
1432
-
1433
- }
1434
- declare module '@layerfi/components/components/BankTransactionMobileList/useMemoText' {
1435
- import { ReactNode } from 'react';
1436
- import { BankTransaction } from '@layerfi/components/types';
1437
- interface MemoTextProps {
1438
- bankTransaction: BankTransaction;
1439
- isActive?: boolean;
1440
- }
1441
- interface MemoTextProviderProps extends MemoTextProps {
1442
- children: ReactNode;
1443
- }
1444
- export type MemoTextContextType = ReturnType<typeof useMemoText>;
1445
- export const MemoTextContext: import("react").Context<{
1446
- memoText: string | undefined;
1447
- setMemoText: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
1448
- saveMemoText: () => Promise<void>;
1449
- }>;
1450
- export const useMemoTextContext: () => {
1451
- memoText: string | undefined;
1452
- setMemoText: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
1453
- saveMemoText: () => Promise<void>;
1454
- };
1455
- const useMemoText: ({ bankTransaction, isActive }: MemoTextProps) => {
1456
- memoText: string | undefined;
1457
- setMemoText: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
1458
- saveMemoText: () => Promise<void>;
1459
- };
1460
- export const MemoTextProvider: ({ children, bankTransaction, isActive, }: MemoTextProviderProps) => import("react/jsx-runtime").JSX.Element;
1461
- export {};
1462
-
1463
1410
  }
1464
1411
  declare module '@layerfi/components/components/BankTransactionMobileList/utils' {
1465
1412
  import { BankTransaction } from '@layerfi/components/types';
@@ -1535,7 +1482,7 @@ declare module '@layerfi/components/components/BankTransactionRow/BankTransactio
1535
1482
  stringOverrides?: BankTransactionCTAStringOverrides;
1536
1483
  };
1537
1484
  export type LastSubmittedForm = 'simple' | 'match' | 'split' | undefined;
1538
- export const extractDescriptionForSplit: (category: CategoryWithEntries) => string;
1485
+ export const extractDescriptionForSplit: (category: CategoryWithEntries | null) => string;
1539
1486
  export const getDefaultSelectedCategory: (bankTransaction: BankTransaction) => import("@layerfi/components/components/CategorySelect/CategorySelect").CategoryOption | undefined;
1540
1487
  export const BankTransactionRow: ({ index, editable, dateFormat, bankTransaction, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, showReceiptUploadColumn, showTooltips, stringOverrides, }: Props) => import("react/jsx-runtime").JSX.Element;
1541
1488
  export {};
@@ -1556,17 +1503,47 @@ declare module '@layerfi/components/components/BankTransactionRow/SplitTooltipDe
1556
1503
  import type { CategoryWithEntries } from '@layerfi/components/types/bank_transactions';
1557
1504
  export const SplitTooltipDetails: ({ classNamePrefix, category, }: {
1558
1505
  classNamePrefix: string;
1559
- category: CategoryWithEntries;
1506
+ category: CategoryWithEntries | null;
1560
1507
  }) => import("react/jsx-runtime").JSX.Element | undefined;
1561
1508
 
1562
1509
  }
1563
- declare module '@layerfi/components/components/BankTransactionRow/index' {
1564
- export { BankTransactionRow } from '@layerfi/components/components/BankTransactionRow/BankTransactionRow';
1510
+ declare module '@layerfi/components/components/BankTransactions/BankTransactionMemo/BankTransactionMemo' {
1511
+ import { BankTransaction } from '@layerfi/components/types/bank_transactions';
1512
+ export const BankTransactionMemo: ({ bankTransactionId }: {
1513
+ bankTransactionId: BankTransaction["id"];
1514
+ }) => import("react/jsx-runtime").JSX.Element;
1515
+
1516
+ }
1517
+ declare module '@layerfi/components/components/BankTransactions/BankTransactionMemo/useBankTransactionMemo' {
1518
+ import { BankTransaction } from '@layerfi/components/types';
1519
+ interface BankTransactionMemoProps {
1520
+ bankTransactionId: BankTransaction['id'];
1521
+ }
1522
+ export const useBankTransactionMemo: ({ bankTransactionId }: BankTransactionMemoProps) => import("@tanstack/react-form").ReactFormExtendedApi<{
1523
+ memo: string | null | undefined;
1524
+ }, import("@tanstack/react-form").FormValidateOrFn<{
1525
+ memo: string | null | undefined;
1526
+ }> | undefined, import("@tanstack/react-form").FormValidateOrFn<{
1527
+ memo: string | null | undefined;
1528
+ }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
1529
+ memo: string | null | undefined;
1530
+ }> | undefined, import("@tanstack/react-form").FormValidateOrFn<{
1531
+ memo: string | null | undefined;
1532
+ }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
1533
+ memo: string | null | undefined;
1534
+ }> | undefined, import("@tanstack/react-form").FormValidateOrFn<{
1535
+ memo: string | null | undefined;
1536
+ }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
1537
+ memo: string | null | undefined;
1538
+ }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
1539
+ memo: string | null | undefined;
1540
+ }> | undefined, unknown>;
1541
+ export {};
1565
1542
 
1566
1543
  }
1567
1544
  declare module '@layerfi/components/components/BankTransactions/BankTransactions' {
1568
1545
  import { BankTransactionFilters } from '@layerfi/components/hooks/useBankTransactions/types';
1569
- import { BankTransactionsTableStringOverrides } from '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable';
1546
+ import { type BankTransactionsTableStringOverrides } from '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable';
1570
1547
  import { BankTransactionsHeaderStringOverrides } from '@layerfi/components/components/BankTransactions/BankTransactionsHeader';
1571
1548
  import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
1572
1549
  import type { LayerError } from '@layerfi/components/models/ErrorHandler';
@@ -1630,17 +1607,15 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
1630
1607
  export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, categorizeView, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, stringOverrides, isSyncing, }: BankTransactionsHeaderProps) => import("react/jsx-runtime").JSX.Element;
1631
1608
 
1632
1609
  }
1633
- declare module '@layerfi/components/components/BankTransactions/DataStates' {
1634
- import { BankTransaction } from '@layerfi/components/types';
1635
- interface DataStatesProps {
1636
- bankTransactions?: BankTransaction[];
1637
- isLoading?: boolean;
1638
- isValidating?: boolean;
1639
- error?: unknown;
1640
- refetch: () => void;
1641
- editable: boolean;
1642
- }
1643
- export const DataStates: ({ bankTransactions, isLoading, isValidating, error, refetch, editable, }: DataStatesProps) => import("react/jsx-runtime").JSX.Element;
1610
+ declare module '@layerfi/components/components/BankTransactions/BankTransactionsTableEmptyState' {
1611
+ type BankTransactionsTableEmptyStatesProps = {
1612
+ hasVisibleTransactions: boolean;
1613
+ isCategorizationMode: boolean;
1614
+ isError: boolean;
1615
+ isFiltered: boolean;
1616
+ isLoadingWithoutData: boolean;
1617
+ };
1618
+ export function BankTransactionsTableEmptyStates({ hasVisibleTransactions, isCategorizationMode, isError, isFiltered, isLoadingWithoutData, }: BankTransactionsTableEmptyStatesProps): import("react/jsx-runtime").JSX.Element | null;
1644
1619
  export {};
1645
1620
 
1646
1621
  }
@@ -1688,7 +1663,6 @@ declare module '@layerfi/components/components/BankTransactionsTable/BankTransac
1688
1663
  editable: boolean;
1689
1664
  categorizeView?: boolean;
1690
1665
  isLoading?: boolean;
1691
- initialLoad?: boolean;
1692
1666
  containerWidth: number;
1693
1667
  removeTransaction: (bt: BankTransaction) => void;
1694
1668
  showDescriptions?: boolean;
@@ -1700,22 +1674,19 @@ declare module '@layerfi/components/components/BankTransactionsTable/BankTransac
1700
1674
  lastPage?: boolean;
1701
1675
  onRefresh?: () => void;
1702
1676
  }
1703
- export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, showTooltips, stringOverrides, isSyncing, page, lastPage, onRefresh, }: BankTransactionsTableProps) => import("react/jsx-runtime").JSX.Element;
1677
+ export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, showTooltips, stringOverrides, isSyncing, page, lastPage, onRefresh, }: BankTransactionsTableProps) => import("react/jsx-runtime").JSX.Element;
1704
1678
  export {};
1705
1679
 
1706
- }
1707
- declare module '@layerfi/components/components/BankTransactionsTable/index' {
1708
- export { BankTransactionsTable } from '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable';
1709
-
1710
1680
  }
1711
1681
  declare module '@layerfi/components/components/BookkeepingStatus/BookkeepingStatus' {
1712
1682
  import { BookkeepingPeriodStatus } from '@layerfi/components/hooks/bookkeeping/periods/useBookkeepingPeriods';
1713
1683
  type BookkeepingStatusProps = {
1714
1684
  monthNumber?: number;
1715
1685
  status?: BookkeepingPeriodStatus;
1686
+ text?: string;
1716
1687
  iconOnly?: boolean;
1717
1688
  };
1718
- export const BookkeepingStatus: ({ status, monthNumber, iconOnly }: BookkeepingStatusProps) => import("react/jsx-runtime").JSX.Element | undefined;
1689
+ export const BookkeepingStatus: ({ status, text, monthNumber, iconOnly }: BookkeepingStatusProps) => import("react/jsx-runtime").JSX.Element | undefined;
1719
1690
  export {};
1720
1691
 
1721
1692
  }
@@ -1750,7 +1721,7 @@ declare module '@layerfi/components/components/BookkeepingStatus/utils' {
1750
1721
  };
1751
1722
  type BookkeepingStatusConfigOptions = {
1752
1723
  status: BookkeepingPeriodStatus;
1753
- monthNumber: number;
1724
+ monthNumber?: number;
1754
1725
  incompleteTasksCount?: number;
1755
1726
  };
1756
1727
  export function getBookkeepingStatusConfig({ status, monthNumber, incompleteTasksCount, }: BookkeepingStatusConfigOptions): InternalStatusConfig | undefined;
@@ -3013,20 +2984,16 @@ declare module '@layerfi/components/components/LinkedAccountOptions/index' {
3013
2984
 
3014
2985
  }
3015
2986
  declare module '@layerfi/components/components/LinkedAccountPill/LinkedAccountPill' {
3016
- type Props = {
3017
- text: string;
3018
- config: {
3019
- name: string;
2987
+ type LinkedAccountPillProps = {
2988
+ label: string;
2989
+ items: ReadonlyArray<{
3020
2990
  action: () => void;
3021
- }[];
2991
+ name: string;
2992
+ }>;
3022
2993
  };
3023
- export const LinkedAccountPill: ({ text, config }: Props) => import("react/jsx-runtime").JSX.Element;
2994
+ export function LinkedAccountPill({ label, items }: LinkedAccountPillProps): import("react/jsx-runtime").JSX.Element;
3024
2995
  export {};
3025
2996
 
3026
- }
3027
- declare module '@layerfi/components/components/LinkedAccountPill/index' {
3028
- export { LinkedAccountPill } from '@layerfi/components/components/LinkedAccountPill/LinkedAccountPill';
3029
-
3030
2997
  }
3031
2998
  declare module '@layerfi/components/components/LinkedAccountThumb/LinkedAccountThumb' {
3032
2999
  import { LinkedAccount } from '@layerfi/components/types/linked_accounts';
@@ -3034,19 +3001,11 @@ declare module '@layerfi/components/components/LinkedAccountThumb/LinkedAccountT
3034
3001
  account: LinkedAccount;
3035
3002
  asWidget?: boolean;
3036
3003
  showLedgerBalance?: boolean;
3037
- pillConfig?: {
3038
- text: string;
3039
- config: {
3040
- name: string;
3041
- action: () => void;
3042
- }[];
3004
+ slots: {
3005
+ Pill: React.ReactNode;
3043
3006
  };
3044
3007
  }
3045
- export const LinkedAccountThumb: ({ account, asWidget, showLedgerBalance, pillConfig, }: LinkedAccountThumbProps) => import("react/jsx-runtime").JSX.Element;
3046
-
3047
- }
3048
- declare module '@layerfi/components/components/LinkedAccountThumb/index' {
3049
- export { LinkedAccountThumb } from '@layerfi/components/components/LinkedAccountThumb/LinkedAccountThumb';
3008
+ export const LinkedAccountThumb: ({ account, asWidget, showLedgerBalance, slots, }: LinkedAccountThumbProps) => import("react/jsx-runtime").JSX.Element;
3050
3009
 
3051
3010
  }
3052
3011
  declare module '@layerfi/components/components/LinkedAccounts/AccountFormBox/AccountFormBox' {
@@ -3247,12 +3206,12 @@ declare module '@layerfi/components/components/MatchForm/MatchForm' {
3247
3206
  matchFormError?: string;
3248
3207
  readOnly?: boolean;
3249
3208
  }
3250
- export const MatchForm: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, readOnly, }: MatchFormProps) => import("react/jsx-runtime").JSX.Element;
3209
+ export const MatchForm: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, readOnly, }: MatchFormProps) => import("react/jsx-runtime").JSX.Element | null;
3251
3210
 
3252
3211
  }
3253
3212
  declare module '@layerfi/components/components/MatchForm/MatchFormMobile' {
3254
3213
  import { MatchFormProps } from '@layerfi/components/components/MatchForm/MatchForm';
3255
- export const MatchFormMobile: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, }: MatchFormProps) => import("react/jsx-runtime").JSX.Element;
3214
+ export const MatchFormMobile: ({ classNamePrefix, bankTransaction, selectedMatchId, setSelectedMatchId, matchFormError, readOnly, }: MatchFormProps) => import("react/jsx-runtime").JSX.Element;
3256
3215
 
3257
3216
  }
3258
3217
  declare module '@layerfi/components/components/MatchForm/index' {
@@ -3355,22 +3314,6 @@ declare module '@layerfi/components/components/PeriodPicker/PeriodPicker' {
3355
3314
  declare module '@layerfi/components/components/PeriodPicker/index' {
3356
3315
  export { PeriodPicker } from '@layerfi/components/components/PeriodPicker/PeriodPicker';
3357
3316
 
3358
- }
3359
- declare module '@layerfi/components/components/Pill/Pill' {
3360
- import { PropsWithChildren } from 'react';
3361
- type PillKind = 'default' | 'info' | 'success' | 'warning' | 'error';
3362
- type Props = PropsWithChildren & {
3363
- kind?: PillKind;
3364
- onHover?: () => void;
3365
- onClick?: () => void;
3366
- };
3367
- export const Pill: ({ children, kind, onHover, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
3368
- export {};
3369
-
3370
- }
3371
- declare module '@layerfi/components/components/Pill/index' {
3372
- export { Pill } from '@layerfi/components/components/Pill/Pill';
3373
-
3374
3317
  }
3375
3318
  declare module '@layerfi/components/components/PlatformOnboarding/Container/LinkAccountsListContainer' {
3376
3319
  import type { PropsWithChildren } from 'react';
@@ -4209,8 +4152,9 @@ declare module '@layerfi/components/components/Tasks/Tasks' {
4209
4152
  tasksHeader?: string;
4210
4153
  mobile?: boolean;
4211
4154
  stringOverrides?: TasksStringOverrides;
4155
+ onClickReconnectAccounts?: () => void;
4212
4156
  };
4213
- export function Tasks({ mobile, tasksHeader, stringOverrides, }: TasksProps): import("react/jsx-runtime").JSX.Element;
4157
+ export function Tasks({ mobile, tasksHeader, onClickReconnectAccounts, stringOverrides, }: TasksProps): import("react/jsx-runtime").JSX.Element;
4214
4158
  export {};
4215
4159
 
4216
4160
  }
@@ -4259,7 +4203,11 @@ declare module '@layerfi/components/components/Tasks/TasksMonthSelector' {
4259
4203
 
4260
4204
  }
4261
4205
  declare module '@layerfi/components/components/Tasks/TasksPanelNotification' {
4262
- export const TasksPanelNotification: () => import("react/jsx-runtime").JSX.Element | null;
4206
+ type TasksPanelNotificationProps = {
4207
+ onClickReconnectAccounts?: () => void;
4208
+ };
4209
+ export const TasksPanelNotification: ({ onClickReconnectAccounts, }: TasksPanelNotificationProps) => import("react/jsx-runtime").JSX.Element | null;
4210
+ export {};
4263
4211
 
4264
4212
  }
4265
4213
  declare module '@layerfi/components/components/Tasks/TasksPending' {
@@ -4368,7 +4316,9 @@ declare module '@layerfi/components/components/Tooltip/Tooltip' {
4368
4316
  export const TooltipTrigger: import("react").ForwardRefExoticComponent<Omit<HTMLProps<HTMLElement> & {
4369
4317
  asChild?: boolean;
4370
4318
  }, "ref"> & import("react").RefAttributes<HTMLElement>>;
4371
- type TooltipContentProps = Omit<HTMLProps<HTMLDivElement>, 'style'>;
4319
+ type TooltipContentProps = Omit<HTMLProps<HTMLDivElement>, 'style'> & {
4320
+ width?: 'md';
4321
+ };
4372
4322
  export const TooltipContent: import("react").ForwardRefExoticComponent<Omit<TooltipContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4373
4323
  export {};
4374
4324
 
@@ -4617,11 +4567,26 @@ declare module '@layerfi/components/components/Wizard/Wizard' {
4617
4567
  export function Wizard({ Header, Footer, onComplete, children, }: WizardProps): import("react/jsx-runtime").JSX.Element;
4618
4568
  export {};
4619
4569
 
4570
+ }
4571
+ declare module '@layerfi/components/components/domain/transactions/actions/TransactionsActions' {
4572
+ import type { PropsWithChildren } from 'react';
4573
+ export function TransactionsActions({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
4574
+
4575
+ }
4576
+ declare module '@layerfi/components/components/domain/transactions/searchField/TransactionsSearchField' {
4577
+ type TransactionsSearchFieldProps = {
4578
+ value: string;
4579
+ slot?: string;
4580
+ onChange: (value: string) => void;
4581
+ };
4582
+ export function TransactionsSearchField({ slot, ...restProps }: TransactionsSearchFieldProps): import("react/jsx-runtime").JSX.Element;
4583
+ export {};
4584
+
4620
4585
  }
4621
4586
  declare module '@layerfi/components/components/ui/Button/Button' {
4622
4587
  import { type ButtonProps } from 'react-aria-components';
4623
4588
  type ButtonVariant = 'solid' | 'ghost';
4624
- type ButtonSize = 'md' | 'lg';
4589
+ type ButtonSize = 'sm' | 'md' | 'lg';
4625
4590
  const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "className"> & {
4626
4591
  icon?: true;
4627
4592
  size?: ButtonSize;
@@ -4651,6 +4616,16 @@ declare module '@layerfi/components/components/ui/Loading/LoadingSpinner' {
4651
4616
  import { type LucideProps } from 'lucide-react';
4652
4617
  export function LoadingSpinner({ size }: Pick<LucideProps, 'size'>): import("react/jsx-runtime").JSX.Element;
4653
4618
 
4619
+ }
4620
+ declare module '@layerfi/components/components/ui/Menu/Menu' {
4621
+ import { type MenuItemProps as ReactAriaMenuItemProps } from 'react-aria-components';
4622
+ export const Menu: import("react").ForwardRefExoticComponent<{
4623
+ children?: import("react").ReactNode | undefined;
4624
+ } & import("react").RefAttributes<HTMLDivElement>>;
4625
+ export const MenuItem: import("react").ForwardRefExoticComponent<{
4626
+ children?: import("react").ReactNode | undefined;
4627
+ } & Pick<ReactAriaMenuItemProps<object>, "textValue" | "onAction"> & import("react").RefAttributes<HTMLDivElement>>;
4628
+
4654
4629
  }
4655
4630
  declare module '@layerfi/components/components/ui/Modal/Modal' {
4656
4631
  import { type ComponentProps } from 'react';
@@ -4684,18 +4659,38 @@ declare module '@layerfi/components/components/ui/Modal/ModalSlots' {
4684
4659
  size?: "2xs" | "xs" | "sm" | "lg";
4685
4660
  }, "ref"> & import("react").RefAttributes<HTMLHeadingElement>, "slot" | "level">, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
4686
4661
  const ModalDescription: import("react").ForwardRefExoticComponent<Omit<Omit<{
4687
- size?: "xs" | "sm" | "md" | "lg";
4662
+ slot?: string | undefined | undefined;
4663
+ } & {
4664
+ align?: "center";
4688
4665
  pbe?: import("@layerfi/components/components/ui/sharedUITypes").Spacing;
4689
4666
  pbs?: import("@layerfi/components/components/ui/sharedUITypes").Spacing;
4690
- align?: "center";
4667
+ size?: "xs" | "sm" | "md" | "lg";
4691
4668
  variant?: "subtle";
4692
- } & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref">, "slot"> & {
4669
+ } & {
4693
4670
  children?: import("react").ReactNode | undefined;
4694
4671
  } & import("react").RefAttributes<HTMLParagraphElement>, "slot">, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
4695
4672
  function ModalContent({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
4696
4673
  function ModalActions({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
4697
4674
  export { ModalContextBar, ModalHeading, ModalDescription, ModalContent, ModalActions, };
4698
4675
 
4676
+ }
4677
+ declare module '@layerfi/components/components/ui/Pill/Pill' {
4678
+ import { type ButtonProps } from 'react-aria-components';
4679
+ type PillStatus = 'error';
4680
+ export const Pill: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "children" | "onHoverStart" | "onPress"> & {
4681
+ status?: PillStatus;
4682
+ } & import("react").RefAttributes<HTMLButtonElement>>;
4683
+ export {};
4684
+
4685
+ }
4686
+ declare module '@layerfi/components/components/ui/SearchField/MinimalSearchField' {
4687
+ import { type SearchFieldProps as ReactAriaSearchFieldProps } from 'react-aria-components';
4688
+ type MinimalSearchFieldProps = ReactAriaSearchFieldProps & {
4689
+ placeholder?: string;
4690
+ };
4691
+ export function MinimalSearchField({ placeholder, ...restProps }: MinimalSearchFieldProps): import("react/jsx-runtime").JSX.Element;
4692
+ export {};
4693
+
4699
4694
  }
4700
4695
  declare module '@layerfi/components/components/ui/Stack/Stack' {
4701
4696
  import { type PropsWithChildren } from 'react';
@@ -4706,6 +4701,9 @@ declare module '@layerfi/components/components/ui/Stack/Stack' {
4706
4701
  justify?: 'start' | 'center' | 'end';
4707
4702
  pbs?: Spacing;
4708
4703
  pbe?: Spacing;
4704
+ pis?: Spacing;
4705
+ pie?: Spacing;
4706
+ fluid?: boolean;
4709
4707
  slot?: string;
4710
4708
  className?: string;
4711
4709
  }>;
@@ -4734,17 +4732,30 @@ declare module '@layerfi/components/components/ui/Typography/MoneyText' {
4734
4732
 
4735
4733
  }
4736
4734
  declare module '@layerfi/components/components/ui/Typography/Text' {
4735
+ import type { ComponentPropsWithoutRef } from 'react';
4737
4736
  import type { Spacing } from '@layerfi/components/components/ui/sharedUITypes';
4738
- const P: import("react").ForwardRefExoticComponent<{
4739
- size?: "xs" | "sm" | "md" | "lg";
4737
+ type ParagraphProps = Pick<ComponentPropsWithoutRef<'p'>, 'slot'>;
4738
+ type TextStyleProps = {
4739
+ align?: 'center';
4740
4740
  pbe?: Spacing;
4741
4741
  pbs?: Spacing;
4742
- align?: "center";
4743
- variant?: "subtle";
4744
- } & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref">, "slot"> & {
4742
+ size?: 'xs' | 'sm' | 'md' | 'lg';
4743
+ variant?: 'subtle';
4744
+ };
4745
+ export const P: import("react").ForwardRefExoticComponent<ParagraphProps & TextStyleProps & {
4745
4746
  children?: import("react").ReactNode | undefined;
4746
4747
  } & import("react").RefAttributes<HTMLParagraphElement>>;
4747
- export { P };
4748
+ type SpanProps = Pick<ComponentPropsWithoutRef<'span'>, 'slot'>;
4749
+ export const Span: import("react").ForwardRefExoticComponent<SpanProps & TextStyleProps & {
4750
+ noWrap?: boolean;
4751
+ } & {
4752
+ children?: import("react").ReactNode | undefined;
4753
+ } & import("react").RefAttributes<HTMLSpanElement>>;
4754
+ type LabelProps = Pick<ComponentPropsWithoutRef<'label'>, 'slot'>;
4755
+ export const Label: import("react").ForwardRefExoticComponent<LabelProps & TextStyleProps & {
4756
+ children?: import("react").ReactNode | undefined;
4757
+ } & import("react").RefAttributes<HTMLLabelElement>>;
4758
+ export {};
4748
4759
 
4749
4760
  }
4750
4761
  declare module '@layerfi/components/components/ui/sharedUITypes' {
@@ -4913,7 +4924,6 @@ declare module '@layerfi/components/contexts/BankTransactionsContext/BankTransac
4913
4924
  has_more: boolean;
4914
4925
  };
4915
4926
  } | undefined;
4916
- loadingStatus: import("@layerfi/components/types/general").LoadedStatus;
4917
4927
  isLoading: boolean;
4918
4928
  isValidating: boolean;
4919
4929
  refetch: () => void;
@@ -4938,7 +4948,6 @@ declare module '@layerfi/components/contexts/BankTransactionsContext/BankTransac
4938
4948
  has_more: boolean;
4939
4949
  };
4940
4950
  } | undefined;
4941
- loadingStatus: import("@layerfi/components/types/general").LoadedStatus;
4942
4951
  isLoading: boolean;
4943
4952
  isValidating: boolean;
4944
4953
  refetch: () => void;
@@ -5192,6 +5201,19 @@ declare module '@layerfi/components/contexts/VendorsContext' {
5192
5201
  export const VendorsProvider: React.FC<VendorsProviderProps>;
5193
5202
  export {};
5194
5203
 
5204
+ }
5205
+ declare module '@layerfi/components/hooks/array/usePaginatedList' {
5206
+ export function usePaginatedList<T>(list: ReadonlyArray<T>, pageSize: number): {
5207
+ pageCount: number;
5208
+ pageIndex: number;
5209
+ pageItems: readonly T[];
5210
+ pageSize: number;
5211
+ next: () => void;
5212
+ set: (pageIndex: number) => void;
5213
+ previous: () => void;
5214
+ reset: () => void;
5215
+ };
5216
+
5195
5217
  }
5196
5218
  declare module '@layerfi/components/hooks/balanceSheet/useBalanceSheet' {
5197
5219
  export function useBalanceSheet({ effectiveDate, }: {
@@ -5340,6 +5362,17 @@ declare module '@layerfi/components/hooks/bookkeeping/periods/useBookkeepingYear
5340
5362
  isLoading: boolean;
5341
5363
  };
5342
5364
 
5365
+ }
5366
+ declare module '@layerfi/components/hooks/bookkeeping/useBankAccounts' {
5367
+ import { BankAccount } from '@layerfi/components/types/linked_accounts';
5368
+ export const requiresNotification: (bankAccount: BankAccount) => boolean;
5369
+ export const useBankAccounts: () => {
5370
+ bankAccounts: BankAccount[];
5371
+ isLoading: boolean;
5372
+ error: any;
5373
+ disconnectedAccountsRequiringNotification: number;
5374
+ };
5375
+
5343
5376
  }
5344
5377
  declare module '@layerfi/components/hooks/bookkeeping/useBookkeepingStatus' {
5345
5378
  const BOOKKEEPING_STATUSES: readonly ["NOT_PURCHASED", "ACTIVE", "ONBOARDING", "BOOKKEEPING_PAUSED"];
@@ -5504,14 +5537,15 @@ declare module '@layerfi/components/hooks/useBankTransactions/types' {
5504
5537
  id: string;
5505
5538
  name: string;
5506
5539
  }
5507
- export interface BankTransactionFilters {
5540
+ export type BankTransactionFilters = {
5508
5541
  amount?: NumericRangeFilter;
5509
5542
  account?: string[];
5510
5543
  direction?: Direction[];
5511
5544
  categorizationStatus?: DisplayState;
5512
5545
  dateRange?: Partial<DateRange>;
5546
+ descriptionFilter?: string;
5513
5547
  tagFilter?: TagFilterInput;
5514
- }
5548
+ };
5515
5549
  export type UseBankTransactionsParams = {
5516
5550
  scope?: DisplayState;
5517
5551
  monthlyView?: boolean;
@@ -5521,8 +5555,9 @@ declare module '@layerfi/components/hooks/useBankTransactions/types' {
5521
5555
  declare module '@layerfi/components/hooks/useBankTransactions/useAugmentedBankTransactions' {
5522
5556
  import { BankTransaction, CategoryUpdate } from '@layerfi/components/types';
5523
5557
  import { DisplayState } from '@layerfi/components/types/bank_transactions';
5524
- import { LoadedStatus } from '@layerfi/components/types/general';
5525
5558
  import { BankTransactionFilters, UseBankTransactionsParams } from '@layerfi/components/hooks/useBankTransactions/types';
5559
+ import { type UseBankTransactionsOptions } from '@layerfi/components/hooks/useBankTransactions/useBankTransactions';
5560
+ export function bankTransactionFiltersToHookOptions(filters?: BankTransactionFilters): UseBankTransactionsOptions;
5526
5561
  export const useAugmentedBankTransactions: (params?: UseBankTransactionsParams) => {
5527
5562
  data: BankTransaction[] | undefined;
5528
5563
  metadata: {
@@ -5531,7 +5566,6 @@ declare module '@layerfi/components/hooks/useBankTransactions/useAugmentedBankTr
5531
5566
  has_more: boolean;
5532
5567
  };
5533
5568
  } | undefined;
5534
- loadingStatus: LoadedStatus;
5535
5569
  isLoading: boolean;
5536
5570
  isValidating: boolean;
5537
5571
  refetch: () => void;
@@ -5552,7 +5586,7 @@ declare module '@layerfi/components/hooks/useBankTransactions/useAugmentedBankTr
5552
5586
  }
5553
5587
  declare module '@layerfi/components/hooks/useBankTransactions/useBankTransactions' {
5554
5588
  import { type GetBankTransactionsReturn } from '@layerfi/components/api/layer/bankTransactions';
5555
- type UseBankTransactionsOptions = {
5589
+ export type UseBankTransactionsOptions = {
5556
5590
  categorized?: boolean;
5557
5591
  direction?: 'INFLOW' | 'OUTFLOW';
5558
5592
  descriptionFilter?: string;
@@ -5561,7 +5595,41 @@ declare module '@layerfi/components/hooks/useBankTransactions/useBankTransaction
5561
5595
  tagFilterQueryString?: string;
5562
5596
  };
5563
5597
  export function useBankTransactions({ categorized, descriptionFilter, direction, startDate, endDate, tagFilterQueryString, }: UseBankTransactionsOptions): import("swr/infinite").SWRInfiniteResponse<GetBankTransactionsReturn, any>;
5564
- export {};
5598
+
5599
+ }
5600
+ declare module '@layerfi/components/hooks/useBankTransactions/useBankTransactionsDownload' {
5601
+ import type { UseBankTransactionsOptions } from '@layerfi/components/hooks/useBankTransactions/useBankTransactions';
5602
+ export function useBankTransactionsDownload(): import("swr/mutation").SWRMutationResponse<import("../../types/general").S3PresignedUrl | undefined, any, () => {
5603
+ readonly accessToken: string;
5604
+ readonly apiUrl: string;
5605
+ readonly businessId: string;
5606
+ readonly tags: readonly ["#bank-transactions-download-excel"];
5607
+ } | undefined, UseBankTransactionsOptions>;
5608
+
5609
+ }
5610
+ declare module '@layerfi/components/hooks/useBankTransactions/useBankTransactionsMetadata' {
5611
+ import { BankTransaction } from '@layerfi/components/types';
5612
+ export const GET_BANK_TRANSACTION_METADATA_TAG_KEY = "#bank-transaction-metadata";
5613
+ export function useBankTransactionMetadata({ bankTransactionId }: {
5614
+ bankTransactionId: BankTransaction['id'];
5615
+ }): import("swr").SWRResponse<import("../../types/bank_transactions").BankTransactionMetadata, any, any>;
5616
+
5617
+ }
5618
+ declare module '@layerfi/components/hooks/useBankTransactions/useUpdateBankTransactionMetadata' {
5619
+ import type { Awaitable } from '@layerfi/components/types/utility/promises';
5620
+ export type UpdateBankTransactionMetadataBody = {
5621
+ memo: string;
5622
+ };
5623
+ export function useUpdateBankTransactionMetadata({ bankTransactionId, onSuccess }: {
5624
+ bankTransactionId: string;
5625
+ onSuccess?: () => Awaitable<unknown>;
5626
+ }): import("swr/mutation").SWRMutationResponse<import("../../types/bank_transactions").BankTransactionMetadata | undefined, any, () => {
5627
+ accessToken: string;
5628
+ apiUrl: string;
5629
+ businessId: string;
5630
+ bankTransactionId: string;
5631
+ tags: string[];
5632
+ } | undefined, UpdateBankTransactionMetadataBody>;
5565
5633
 
5566
5634
  }
5567
5635
  declare module '@layerfi/components/hooks/useBankTransactions/utils' {
@@ -5647,6 +5715,10 @@ declare module '@layerfi/components/hooks/useDataSync/useDataSync' {
5647
5715
  export const useDataSync: UseDataSync;
5648
5716
  export {};
5649
5717
 
5718
+ }
5719
+ declare module '@layerfi/components/hooks/useDebounce/useDebounce' {
5720
+ export function useDebounce<F extends (...args: Parameters<F>) => ReturnType<F>>(fn: F): import("lodash").DebouncedFunc<(...args: Parameters<F>) => void>;
5721
+
5650
5722
  }
5651
5723
  declare module '@layerfi/components/hooks/useDrawer/index' {
5652
5724
  export { useDrawer } from '@layerfi/components/hooks/useDrawer/useDrawer';
@@ -6107,6 +6179,15 @@ declare module '@layerfi/components/hooks/useWindowSize/useWindowSize' {
6107
6179
  export function useSizeClass(): UseSizeClass;
6108
6180
  export {};
6109
6181
 
6182
+ }
6183
+ declare module '@layerfi/components/hooks/visibility/useDelayedVisibility' {
6184
+ export function useDelayedVisibility({ delay, initialVisibility, }: {
6185
+ delay: number;
6186
+ initialVisibility?: boolean;
6187
+ }): {
6188
+ isVisible: boolean;
6189
+ };
6190
+
6110
6191
  }
6111
6192
  declare module '@layerfi/components/icons/AlertCircle' {
6112
6193
  import { IconSvgProps } from '@layerfi/components/icons/types';
@@ -6861,7 +6942,7 @@ declare module '@layerfi/components/types/bank_transactions' {
6861
6942
  amount: number;
6862
6943
  direction: Direction;
6863
6944
  counterparty_name: string;
6864
- category: CategoryWithEntries;
6945
+ category: CategoryWithEntries | null;
6865
6946
  categorization_status: CategorizationStatus;
6866
6947
  categorization_flow: Categorization | null;
6867
6948
  categorization_method: string;
@@ -7554,9 +7635,9 @@ declare module '@layerfi/components/types/linked_accounts' {
7554
7635
  };
7555
7636
  export type AccountSource = EnumWithUnknownValues<'PLAID' | 'STRIPE'>;
7556
7637
  const _KNOWN_ACCOUNT_NOTIFICATION_TYPES: readonly ["CONFIRM_RELEVANT", "CONFIRM_UNIQUE", "OPENING_BALANCE_MISSING"];
7557
- type KnownAccountNotificationType = typeof _KNOWN_ACCOUNT_NOTIFICATION_TYPES[number];
7638
+ type KnownAccountNotificationType = (typeof _KNOWN_ACCOUNT_NOTIFICATION_TYPES)[number];
7558
7639
  const _KNOWN_ACCOUNT_NOTIFICATION_SCOPES: readonly ["USER"];
7559
- type KnownAccountNotificationScope = typeof _KNOWN_ACCOUNT_NOTIFICATION_SCOPES[number];
7640
+ type KnownAccountNotificationScope = (typeof _KNOWN_ACCOUNT_NOTIFICATION_SCOPES)[number];
7560
7641
  type AccountNotificationType = EnumWithUnknownValues<KnownAccountNotificationType>;
7561
7642
  type AccountNotificationScope = EnumWithUnknownValues<KnownAccountNotificationScope>;
7562
7643
  type AccountNotification = {
@@ -7591,6 +7672,26 @@ declare module '@layerfi/components/types/linked_accounts' {
7591
7672
  type: string;
7592
7673
  external_accounts: Array<LinkedAccount>;
7593
7674
  };
7675
+ export type FinancialAccountInstitution = {
7676
+ id: string;
7677
+ name: string;
7678
+ logo: string | null;
7679
+ };
7680
+ export type BankAccount = {
7681
+ id: string;
7682
+ account_name: string | null;
7683
+ ledger_account_id: string;
7684
+ notes: string | null;
7685
+ institution: FinancialAccountInstitution | null;
7686
+ account_type: AccountType;
7687
+ account_subtype: AccountSubtype;
7688
+ notify_when_disconnected: boolean;
7689
+ is_disconnected: boolean;
7690
+ archived_at: string | null;
7691
+ external_accounts: LinkedAccount[];
7692
+ };
7693
+ export type AccountType = 'DEPOSITORY' | 'CREDIT' | 'LOAN';
7694
+ export type AccountSubtype = '_401A' | '_401K' | '_403B' | '_457B' | '_529' | 'BROKERAGE' | 'CASH_ISA' | 'CRYPTO_EXCHANGE' | 'EDUCATION_SAVINGS_ACCOUNT' | 'EBT' | 'FIXED_ANNUITY' | 'GIC' | 'HEALTH_REIMBURSEMENT_ARRANGEMENT' | 'HSA' | 'ISA' | 'IRA' | 'LIF' | 'LIFE_INSURANCE' | 'LIRA' | 'LRIF' | 'LRSP' | 'NON_CUSTODIAL_WALLET' | 'NON_TAXABLE_BROKERAGE_ACCOUNT' | 'OTHER' | 'OTHER_INSURANCE' | 'OTHER_ANNUITY' | 'PRIF' | 'RDSP' | 'RESP' | 'RLIF' | 'RRIF' | 'PENSION' | 'PROFIT_SHARING_PLAN' | 'RETIREMENT' | 'ROTH' | 'ROTH_401K' | 'RRSP' | 'SEP_IRA' | 'SIMPLE_IRA' | 'SIPP' | 'STOCK_PLAN' | 'THRIFT_SAVINGS_PLAN' | 'TFSA' | 'TRUST' | 'UGMA' | 'UTMA' | 'VARIABLE_ANNUITY' | 'CREDIT_CARD' | 'PAYPAL' | 'CD' | 'CHECKING' | 'SAVINGS' | 'MONEY_MARKET' | 'PREPAID' | 'AUTO' | 'BUSINESS' | 'COMMERCIAL' | 'CONSTRUCTION' | 'CONSUMER' | 'HOME_EQUITY' | 'LOAN' | 'MORTGAGE' | 'OVERDRAFT' | 'LINE_OF_CREDIT' | 'STUDENT' | 'CASH_MANAGEMENT' | 'KEOGH' | 'MUTUAL_FUND' | 'RECURRING' | 'REWARDS' | 'SAFE_DEPOSIT' | 'SARSEP' | 'PAYROLL' | 'NULL' | 'ENUM_UNKNOWN';
7594
7695
  export {};
7595
7696
 
7596
7697
  }
@@ -8270,7 +8371,6 @@ declare module '@layerfi/components/utils/format' {
8270
8371
  }
8271
8372
  declare module '@layerfi/components/utils/helpers' {
8272
8373
  export const range: (start: number, end: number) => number[];
8273
- export const debounce: <F extends (...args: Parameters<F>) => ReturnType<F>>(fnc: F, timeout?: number) => (...args: Parameters<F>) => void;
8274
8374
  export const sleep: (time: number) => Promise<unknown>;
8275
8375
  /**
8276
8376
  * Convert the account name into stable_name
@@ -8332,8 +8432,16 @@ declare module '@layerfi/components/utils/styleUtils/toDataProperties' {
8332
8432
  export {};
8333
8433
 
8334
8434
  }
8335
- declare module '@layerfi/components/utils/switch/safeAssertUnreachable' {
8336
- export function safeAssertUnreachable(value: never, message?: string): never;
8435
+ declare module '@layerfi/components/utils/switch/assertUnreachable' {
8436
+ export function safeAssertUnreachable<T>({ value, message, fallbackValue, }: {
8437
+ value: never;
8438
+ message?: string;
8439
+ fallbackValue?: T;
8440
+ }): T | undefined;
8441
+ export function unsafeAssertUnreachable({ message, }: {
8442
+ value: never;
8443
+ message?: string;
8444
+ }): never;
8337
8445
 
8338
8446
  }
8339
8447
  declare module '@layerfi/components/utils/swr/defaultSWRConfig' {
@@ -8481,12 +8589,13 @@ declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOvervie
8481
8589
  };
8482
8590
  };
8483
8591
  };
8592
+ onClickReconnectAccounts?: () => void;
8484
8593
  /**
8485
8594
  * @deprecated Use `stringOverrides.title` instead
8486
8595
  */
8487
8596
  title?: string;
8488
8597
  }
8489
- export const BookkeepingOverview: ({ title, showTitle, stringOverrides, slotProps, }: BookkeepingOverviewProps) => import("react/jsx-runtime").JSX.Element;
8598
+ export const BookkeepingOverview: ({ title, showTitle, onClickReconnectAccounts, stringOverrides, slotProps, }: BookkeepingOverviewProps) => import("react/jsx-runtime").JSX.Element;
8490
8599
 
8491
8600
  }
8492
8601
  declare module '@layerfi/components/views/BookkeepingOverview/index' {