declare const _default: { isSupported: typeof isSupported; validateLockFile: typeof validateLockFile; provideComponent: typeof provideComponent; provideStack: typeof provideStack; readLicenseFromManifest: typeof readLicenseFromManifest; packageManagerName(): string; }; export default _default; export type DependencyEntry = { name: string; version: string; dependencies: DependencyEntry[]; hashes?: Array<{ alg: string; content: string; }>; }; /** * @param {string} manifestName - the subject manifest name-type * @returns {boolean} - return true if `requirements.txt` is the manifest name-type */ declare function isSupported(manifestName: string): boolean; /** * Python requirements.txt has no standard license field * @param {string} manifestPath - path to requirements.txt * @returns {string|null} */ declare function readLicenseFromManifest(manifestPath: string): string | null; /** * @param {string} manifestDir - the directory where the manifest lies */ declare function validateLockFile(): boolean; /** * Provide content and content type for python-pip stack analysis. * @param {string} manifest - the manifest path or name * @param {{}} [opts={}] - optional various options to pass along the application * @returns {Promise} */ declare function provideStack(manifest: string, opts?: {}): Promise; /** * Provide content and content type for python-pip component analysis. * @param {string} manifest - path to requirements.txt for component report * @param {{}} [opts={}] - optional various options to pass along the application * @returns {Promise} */ declare function provideComponent(manifest: string, opts?: {}): Promise;