/** * Get date range parameters with defaults */ export declare function getDateRange(startDate?: string, endDate?: string): { startDate: string; endDate: string; }; /** * Format a local calendar date as YYYY-MM-DD */ export declare function formatDate(date: Date | string | undefined | null): string; /** * Format currency amounts for display */ export declare function formatAmount(amount: number | undefined | null): string; export declare function getDateRangeForMonths(months: number): { start: string; end: string; }; /** * List the N most recent months as `YYYY-MM` strings, oldest first, * ending with the current month. */ export declare function getRecentMonths(months: number): string[]; /** * Render a `YYYY-MM` month key as a short human label, e.g. `Jul 2026`. */ export declare function formatMonthLabel(month: string): string; /** * Last calendar day of a `YYYY-MM` month, as a Date. */ export declare function endOfMonth(month: string): Date; //# sourceMappingURL=utils.d.ts.map