import type { PackageManager } from '../../pm/index.ts';
import type { SecureAuditRow, SecureDeclaredDependency, SecurePackageMetadata, SecureRegistryManifest } from './interfaces.ts';
export interface RunSecurityAuditOptions {
    concurrency?: number;
    cwd?: string;
    fetchMetadata?: (packageNames: string[], concurrency: number) => Promise<Map<string, SecurePackageMetadata>>;
    now?: Date;
    pkg?: string;
    render?: (rows: SecureAuditRow[]) => void;
    verbose?: boolean;
}
export declare function resolveSecureDependencyVersion(dep: SecureDeclaredDependency, installedVersion: string | undefined, manifest: SecureRegistryManifest | undefined): string | undefined;
export declare function buildSecurityAuditRows(declaredDeps: SecureDeclaredDependency[], installedVersions: ReadonlyMap<string, string>, metadata: ReadonlyMap<string, SecurePackageMetadata>, now?: Date): SecureAuditRow[];
export declare function runSecurityAudit(pm: Pick<PackageManager, 'listInstalledVersions' | 'listWorkspaces'>, options?: RunSecurityAuditOptions): Promise<number>;
//# sourceMappingURL=runSecurityAudit.d.ts.map