import type { LedgerEntry, LedgerFilter, LedgerAggregation, MonthlyLedger } from '../types/index.js';
/**
 * Append a new entry to the current month's ledger file.
 */
export declare function recordEntry(projectHash: string, dataDir: string, entry: LedgerEntry): Promise<void>;
/**
 * Load and filter ledger entries according to the given filter criteria.
 */
export declare function getEntries(projectHash: string, dataDir: string, filter: LedgerFilter): Promise<LedgerEntry[]>;
/**
 * Compute aggregated statistics for filtered ledger entries.
 */
export declare function getAggregation(projectHash: string, dataDir: string, filter: LedgerFilter): Promise<LedgerAggregation>;
/**
 * Load the current month's ledger including recomputed aggregation.
 */
export declare function getCurrentMonthLedger(projectHash: string, dataDir: string): Promise<MonthlyLedger>;
/**
 * Return the list of months for which ledger files exist (YYYY-MM format).
 */
export declare function getHistoricalMonths(projectHash: string, dataDir: string): Promise<string[]>;
/**
 * Archive months older than ROTATION_MONTHS into a summary.json file.
 */
export declare function rotateLedger(projectHash: string, dataDir: string): Promise<void>;
//# sourceMappingURL=token-ledger-store.d.ts.map