import { DefinedReport, ReportParams } from "./types.mjs"; interface ReportRegistryInit { reports?: readonly DefinedReport[]; /** * Opaque version string. Used as the `registryVersion` input to * `inputHash` so cached results invalidate when report code ships. * Caller is expected to feed in their package version. */ version?: string; } interface ReportRegistry { version: string; listReportIds: () => readonly string[]; getReport: (id: string) => DefinedReport | undefined; listReports: () => readonly DefinedReport[]; } declare function createReportRegistry(init?: ReportRegistryInit): ReportRegistry; export { ReportRegistry, ReportRegistryInit, createReportRegistry };