export type UnsupportedNpmDependencies = { file: string; unsupportedDependencies: string[]; }; export type ParseError = { file: string; error: string; }; export declare class Collector { entrypoint: string; entrypointContent: string; missingFiles: string[]; parseErrors: ParseError[]; unsupportedNpmDependencies: UnsupportedNpmDependencies[]; dependencies: Map; constructor(entrypoint: string, entrypointContent: string); hasDependency(path: string): boolean; addDependency(path: string, content: string): void; addUnsupportedNpmDependencies(file: string, unsupportedDependencies: string[]): void; addParsingError(file: string, message: string): void; addMissingFile(filePath: string): void; validate(): void; getItems(): { entrypoint: { filePath: string; content: string; }; dependencies: { filePath: string; content: string; }[]; }; }