@cyclonedx/cdxgen
Version:
Creates CycloneDX Software Bill of Materials (SBOM) from source or container image
61 lines • 2.37 kB
TypeScript
/**
* Collect AI-related inventory from JavaScript and TypeScript sources.
*
* @param {string} discoveryPath directory or file being analyzed
* @param {Object} [options={}] collection options
* @returns {{ components: Object[], dependencies: Object[], services: Object[] }} AI inventory
*/
export declare function collectJsAiInventory(discoveryPath: string, options?: Object): {
components: Object[];
dependencies: Object[];
services: Object[];
};
/**
* Collect AI inventory from local Hugging Face repository metadata files.
*
* @param {string} discoveryPath directory or file being analyzed
* @param {Object} [options={}] collection options
* @returns {{ components: Object[], dependencies: Object[], services: Object[] }} AI inventory
*/
export declare function collectHuggingFaceRepoAiInventory(discoveryPath: string, options?: Object): {
components: Object[];
dependencies: Object[];
services: Object[];
};
/**
* Collect AI-related inventory from Python sources.
*
* @param {string} discoveryPath directory or file being analyzed
* @param {Object} [options={}] collection options
* @returns {{ components: Object[], dependencies: Object[], services: Object[] }} AI inventory
*/
export declare function collectPythonAiInventory(discoveryPath: string, options?: Object): {
components: Object[];
dependencies: Object[];
services: Object[];
};
/**
* Collect AI-related inventory from notebook sources.
*
* @param {string} discoveryPath directory or file being analyzed
* @param {Object} [options={}] collection options
* @returns {{ components: Object[], dependencies: Object[], services: Object[] }} AI inventory
*/
export declare function collectNotebookAiInventory(discoveryPath: string, options?: Object): {
components: Object[];
dependencies: Object[];
services: Object[];
};
/**
* Collect AI-related inventory from prompt and agent configuration files.
*
* @param {string} discoveryPath directory or file being analyzed
* @param {Object} [options={}] collection options
* @returns {{ components: Object[], dependencies: Object[], services: Object[] }} AI inventory
*/
export declare function collectPromptConfigAiInventory(discoveryPath: string, options?: Object): {
components: Object[];
dependencies: Object[];
services: Object[];
};
//# sourceMappingURL=aiCollector.d.ts.map