export type Ecosystem = 'npm'; export type VulnerabilitySource = 'osv'; export type AdvisoryKind = 'vulnerability' | 'malware'; export declare const SEVERITY_LEVELS: readonly ["none", "low", "medium", "high", "critical", "unknown"]; export type SeverityLevel = (typeof SEVERITY_LEVELS)[number]; export type DependencyScanStatus = 'clear' | 'needs_review' | 'unresolved'; export declare const DEPENDENCY_SCAN_DATE_FILTERS: readonly ["all", "today", "-7d", "-30d", "ytd"]; export type DependencyScanDateFilter = (typeof DEPENDENCY_SCAN_DATE_FILTERS)[number]; export type DependencyScanOrder = 'asc' | 'desc'; export declare const DEPENDENCY_SCAN_SORTS: readonly ["severity", "last_updated", "last_published"]; export type DependencyScanSort = (typeof DEPENDENCY_SCAN_SORTS)[number]; export declare function parseDependencyScanDateFilter(value: string | null | undefined): DependencyScanDateFilter; export interface AdvisoryDetail { advisoryId: string; source: VulnerabilitySource; kind: AdvisoryKind; severity: SeverityLevel; summary: string | null; packageName: string; currentVersion: string; fixedVersion: string | null; lowConfidence: boolean; } export interface PerAppVuln { appId: string; lastPublished: string | null; lastUpdated: string; name: string; owner: string | null; published: boolean; visibility: 'private' | 'public'; status: DependencyScanStatus; totalCount: number; topSeverity: SeverityLevel | null; severityCounts: Partial>; advisories: AdvisoryDetail[]; lowConfidence: boolean; canDeploy: boolean; } export interface DependencyScanSummary { overallSeverityCounts: Partial>; publishedPublicWithVulns: number; publishedWithVulns: number; totalProjects: number; } //# sourceMappingURL=index.d.ts.map