Creates a HistoryCategoryResolver using the given Actual API instance.
The Actual Budget API module to query transaction history from.
Loads historical payee→category mappings from Actual Budget transaction history. Failures are logged and do not throw; the resolver will simply return no matches.
Procedure with the result status, or failure with error details.
Finds the most recent historical category for the given payee description.
The transaction description or payee name to match.
A IResolvedCategory with the matched category ID, or undefined if no match.
Resolves transaction categories by matching payee names against import history.