import type { ReportStatus, ReportType } from "../types/report-v1.js"; export type ReportBundleKind = "local-run" | "scenario-suite" | "portable"; export interface ReportBundleListItem { reportId: string; kind: ReportBundleKind; reportType?: ReportType; status?: ReportStatus | string; title?: string; generatedAt?: string; runId?: string; scenarioId?: string; bundlePath: string; reportPath: string; manifestPath?: string; hasHtml: boolean; hasMarkdown: boolean; mtimeMs: number; } export interface ListReportBundlesOptions { /** Absolute trusted artifact roots (or portable parent dirs). Required — no unbounded walk of /. */ roots: string[]; limit?: number; status?: string; reportType?: string; kind?: ReportBundleKind | ReportBundleKind[]; /** Case-insensitive match on reportId / title / runId / scenarioId */ query?: string; /** ISO date lower bound using generatedAt or mtime */ since?: string; includePortableUnderRoots?: boolean; } export interface ListReportBundlesResult { totalScanned: number; matching: number; truncated: boolean; bundles: ReportBundleListItem[]; roots: string[]; } /** * Discover report bundles under explicit roots only (caller must pass trusted roots). * Includes `runs/` (detailed) and `scenarios/` (suite aggregates). */ export declare function listReportBundles(options: ListReportBundlesOptions): Promise; //# sourceMappingURL=discover.d.ts.map