type DependencyStatus = "fail" | "pass" | "skip" | "unknown"; type DependencyResult = { name: string; version: string; status: "fail" | "pass"; lastPublish: string; ageDays: number; ageFormatted: string; } | { name: string; version: string; status: "skip"; reason: string; } | { name: string; version: string; status: "unknown"; error?: string; }; interface CheckResult { threshold: number; checked: number; counts: Record; results: DependencyResult[]; } interface DustyDepsConfig { threshold?: number; allowlist?: Record; } interface CheckOptions { cwd?: string; threshold?: number; allowlist?: Record; concurrency?: number; onProgress?: (completed: number, total: number, name: string) => void; } declare function check(options?: CheckOptions): Promise; interface RegistryResult { date: Date | null; error?: string; } export { type CheckOptions, type CheckResult, type DependencyResult, type DependencyStatus, type DustyDepsConfig, type RegistryResult, check };