/**
 * Date range presets and utilities for usage report queries.
 *
 * Preset values match common billing-dashboard patterns (7-day, 14-day,
 * 30-day windows). All dates are formatted as YYYY-MM-DD strings to
 * align with the `GetOrgUsageReportInput` proto contract.
 */
/** A closed date range where both ends are ISO date strings (YYYY-MM-DD). */
export interface DateRange {
    /** Start date (inclusive) in YYYY-MM-DD format. */
    readonly from: string;
    /** End date (inclusive) in YYYY-MM-DD format. */
    readonly to: string;
}
/** Supported preset window sizes for usage reports. */
export type DateRangePreset = "7d" | "14d" | "30d";
/** All available presets in display order. */
export declare const DATE_RANGE_PRESETS: readonly DateRangePreset[];
/** Human-readable label for each preset. */
export declare function presetLabel(preset: DateRangePreset): string;
/**
 * Compute a {@link DateRange} from a preset, anchored to today.
 *
 * The `to` date is always today (inclusive). The `from` date is
 * `days - 1` calendar days before today so the range contains exactly
 * `days` calendar days.
 */
export declare function dateRangeFromPreset(preset: DateRangePreset): DateRange;
/**
 * Format a date range for display (e.g. "Mar 30 -- Apr 06").
 *
 * Uses short month names and zero-padded days for a compact, scannable
 * representation in the date-range selector.
 */
export declare function formatDateRange(range: DateRange): string;
//# sourceMappingURL=date-range.d.ts.map