import type { ArtifactActor, ArtifactInventoryEntry } from "../artifacts/index.js"; import { type DiagnosticBundleManifest, type DiagnosticReplayResult, type DiagnosticSummary, type ValidatedDiagnosticBundle } from "./contract.js"; export interface CaptureDiagnosticBundleInput { findingId?: string; startAt?: string; endAt?: string; actor?: ArtifactActor; retentionDays?: number; now?: Date; machineLabel?: string; engineVersion?: string; } export interface CapturedDiagnosticBundle { path: string; manifest: DiagnosticBundleManifest; summary: DiagnosticSummary; } export interface DiagnosticBundleListRow { artifact_id: string; created_at: string; expires_at: string | null; classification: ArtifactInventoryEntry["classification"]; valid: boolean; captured_at?: string; finding_id?: string; error?: string; } export interface DiagnosticBundleCandidateRow { artifact_id: string; created_at: string; expires_at: string | null; classification: ArtifactInventoryEntry["classification"]; selectable: boolean; captured_at?: string; finding_id?: string; error?: string; } export declare function captureDiagnosticBundle(repoRootRaw: string, input?: CaptureDiagnosticBundleInput): CapturedDiagnosticBundle; export declare function validateDiagnosticBundle(repoRootRaw: string, ref: string): ValidatedDiagnosticBundle; /** Frozen web readers accept an opaque artifact id, never a filesystem path. */ export declare function readFrozenDiagnosticBundle(repoRoot: string, artifactId: string): ValidatedDiagnosticBundle; export declare function showDiagnosticBundle(repoRoot: string, ref: string): ValidatedDiagnosticBundle; export declare function listDiagnosticBundles(repoRoot: string): DiagnosticBundleListRow[]; /** * Lists managed bundle candidates without opening their bounded payloads. * Selection is not authority: every show, replay, and comparison operation * still performs complete digest and schema validation before returning data. */ export declare function listDiagnosticBundleCandidates(repoRoot: string): DiagnosticBundleCandidateRow[]; export declare function replayDiagnosticBundle(repoRoot: string, ref: string, now?: Date): DiagnosticReplayResult; //# sourceMappingURL=bundle.d.ts.map