UNPKG

@accounter/server

Version:
13 lines (12 loc) 419 B
import { TenantAwareDBClient } from '../../app-providers/tenant-db-client.js'; export type BusinessUsageCounts = { transactions: number; documents: number; miscExpenses: number; ledgerRecords: number; }; export declare class BusinessUsageProvider { private db; constructor(db: TenantAwareDBClient); getUsageByBusinessIds(ids: readonly string[]): Promise<Map<string, BusinessUsageCounts>>; }