import type { AIProviderType } from '@genesislcap/foundation-ai';
/** A model used during a finalized cost session. */
export interface CostSessionModelEntry {
    model: string;
    /** Vendor id from `getStatus()` (e.g. `'anthropic'`, `'gemini'`). */
    provider?: AIProviderType;
}
/** Persisted snapshot of a completed assistant cost session. */
export interface CostSessionRecord {
    id: string;
    title: string;
    /** ISO-8601 timestamp when the session was finalized. */
    endedAt: string;
    costUsd: number;
    tokensConsumed: number;
    models: CostSessionModelEntry[];
}
/** localStorage key for a host-scoped cost history list. */
export declare function costHistoryStorageKey(scope: string): string;
/** Load persisted cost sessions for a scope (newest first). */
export declare function loadCostSessionHistory(scope: string): CostSessionRecord[];
/** Replace the persisted list for a scope. */
export declare function saveCostSessionHistory(scope: string, records: CostSessionRecord[]): void;
/** Prepend a record and persist. Returns the updated list. */
export declare function appendCostSessionRecord(scope: string, record: CostSessionRecord): CostSessionRecord[];
/** Remove one record by id. Returns the updated list. */
export declare function removeCostSessionRecord(scope: string, id: string): CostSessionRecord[];
/** Clear all persisted records for a scope. */
export declare function clearCostSessionHistory(scope: string): void;
/** Display date for a history row (e.g. "Jun 14, 2026"). */
export declare function formatCostSessionDate(iso: string): string;
//# sourceMappingURL=cost-session-history.d.ts.map