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 Provider = import('../provider').Provider; export type Provided = import('../provider').Provided; /** * Check if the given manifest name is a Dockerfile or Containerfile. * Supports dot-suffixed variants such as Dockerfile.dev or Containerfile.prod. * @param {string} manifestName the manifest file name to check * @returns {boolean} true if the manifest is a Dockerfile or Containerfile */ declare function isSupported(manifestName: string): boolean; /** * Dockerfiles have no lock file, so validation always passes. * @returns {boolean} always true */ declare function validateLockFile(): boolean; /** * Parse all FROM instructions from a Dockerfile using tree-sitter to extract base image references. * In multi-stage builds, every FROM line is returned so each image can be analyzed independently. * ARG substitutions are resolved using declared default values. FROM lines with unresolvable * variables (ARGs without defaults) are silently skipped. * @param {string} manifestContent the content of the Dockerfile * @returns {Promise} array of image references from all resolvable FROM instructions * @throws {Error} when no FROM instruction is found or when no FROM lines can be resolved */ export declare function parseAllFromImages(manifestContent: string): Promise; /** * Provide content and content type for Dockerfile component analysis. * @param {string} manifest path to the Dockerfile * @param {{}} [opts={}] optional various options to pass along the application * @returns {Promise} */ declare function provideComponent(manifest: string, opts?: {}): Promise; /** * Provide content and content type for Dockerfile stack analysis. * @param {string} manifest path to the Dockerfile * @param {{}} [opts={}] optional various options to pass along the application * @returns {Promise} */ declare function provideStack(manifest: string, opts?: {}): Promise; /** * Dockerfiles contain no license information. * @returns {null} always null */ declare function readLicenseFromManifest(): null;