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; export type Package = { name: string; version: string; }; export type Dependency = { groupId: string; artifactId: string; version: string; scope: string; ignore: boolean; }; /** * @param {string} manifestName the subject manifest name-type * @returns {boolean} return true if `pom.xml` is the manifest name-type */ declare function isSupported(manifestName: string): boolean; /** * Go modules have no standard license field in go.mod * @param {string} manifestPath path to go.mod * @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 maven-maven 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 maven-maven component analysis. * @param {string} manifest path to go.mod for component report * @param {{}} [opts={}] optional various options to pass along the application * @returns {Promise} */ declare function provideComponent(manifest: string, opts?: {}): Promise; /** * Discover all go.mod manifest paths in a Go workspace. * Uses `go work edit -json` to get workspace members. * * @param {string} workspaceRoot - Absolute or relative path to workspace root (must contain go.work) * @param {import('../index.js').Options} [opts={}] * @returns {Promise} Paths to go.mod files (absolute) */ export declare function discoverGoWorkspaceModules(workspaceRoot: string, opts?: import('../index.js').Options): Promise;