/** * QA360 History Commands * CLI interface for Evidence Vault querying and management */ import { Command } from 'commander'; export interface HistoryListOptions { limit?: number; status?: string; gate?: string; since?: string; json?: boolean; format?: string; } export interface HistoryGetOptions { json?: boolean; } export interface HistoryDiffOptions { json?: boolean; } export interface HistoryTrendOptions { gate?: string; window?: number; json?: boolean; csv?: string; } export interface HistoryExportOptions { bundle: string; } export interface HistoryGCOptions { keepLast?: number; maxBytes?: string; dryRun?: boolean; } export declare class QA360History { private vault?; constructor(); /** * Initialize vault connection */ private getVault; /** * List runs with filters */ list(options: HistoryListOptions): Promise; /** * Get detailed run information */ get(runId: string, options: HistoryGetOptions): Promise; /** * Compare two runs */ diff(runIdA: string, runIdB: string, options: HistoryDiffOptions): Promise; /** * Show trends over time */ trend(options: HistoryTrendOptions): Promise; /** * Export run bundle */ export(runId: string, options: HistoryExportOptions): Promise; /** * Garbage collection */ gc(options: HistoryGCOptions): Promise; /** * Pin/unpin run */ pin(runId: string, unpin?: boolean): Promise; private formatStatus; private formatSeverity; private formatBytes; private diffGates; private diffFindings; private exportTrendCSV; } export declare function createHistoryCommands(): Command;