/** * Statement-level grouping for the Transaction Categorization listing, forwarded * verbatim to the listing API as `transaction_group`. When revenue automation is * enabled for the tenant the backend scopes the whole view by the line * account_type: `'expense'` -> expense accounts, `'income'` -> income accounts, * `'all'` -> both. When off, every value falls back to the legacy expense scope * on the backend, so the group is only sent when the gate is on. * * The wire value for expenses is the singular `'expense'` (matches the backend * `TransactionGroup` enum) even though the picker labels it "Expenses". * Balance-sheet groups (assets, liability) are reserved for later and are not * part of this union yet. */ export declare const TRANSACTION_GROUPS: readonly ["all", "income", "expense"]; export declare const toTransactionGroup: (v: string | null | undefined) => "income" | "expense" | "all"; export type TransactionGroup = ReturnType; /** * Default group for the listing — matches the picker's default selection ("All"). * Single source of truth for initial slice state and any fall-back call site. */ export declare const DEFAULT_TRANSACTION_GROUP: TransactionGroup;