import type * as conformance from "@nodesecure/conformance"; import type { CollectableSetData } from "@nodesecure/js-x-ray"; import type { PackageModuleType } from "@nodesecure/mama"; import type { Path } from "./class/SourceCodeScanner.class.ts"; export type { Path } from "./class/SourceCodeScanner.class.ts"; export interface Composition { extensions: string[]; files: string[]; minified: string[]; unused: string[]; missing: string[]; required_files: string[]; required_nodejs: string[]; required_thirdparty: string[]; required_subpath: Record; } export interface ScanResultPayload { description?: string; engines?: Record; repository?: any; scripts?: Record; author?: any; integrity?: string | null; type: string; size: number; licenses: conformance.SpdxFileLicenseConformance[]; uniqueLicenseIds: string[]; warnings: any[]; flags: string[]; composition: Composition; /** * Serialized collectable entries populated by the worker thread. * Only present when `collectableTypes` was specified in the WorkerTask. */ collectables?: CollectableSetData[]; path: Path; } export interface DependencyRef { id: number; type: PackageModuleType; usedBy: Record; isDevDependency: boolean; existOnRemoteRegistry: boolean; flags: string[]; description: string; size: number; author: Record; engines: Record; repository: any; scripts: Record; warnings: any; licenses: conformance.SpdxFileLicenseConformance[]; uniqueLicenseIds: string[]; gitUrl: string | null; alias: Record; composition: Composition; path?: Path; } //# sourceMappingURL=types.d.ts.map