/** Media type for CycloneDX JSON batch payloads (batch-analysis API). */ export declare const CYCLONEDX_JSON_MEDIA_TYPE = "application/vnd.cyclonedx+json"; declare const _default: { requestComponent: typeof requestComponent; requestStack: typeof requestStack; requestStackBatch: typeof requestStackBatch; requestImages: typeof requestImages; validateToken: typeof validateToken; appendAnalysisQueryParams: typeof appendAnalysisQueryParams; }; export default _default; declare function requestStack(provider: import('./provider').Provider, manifest: string, url: string, html?: true, opts?: import("index.js").Options): Promise; declare function requestStack(provider: import('./provider').Provider, manifest: string, url: string, html?: false, opts?: import("index.js").Options): Promise; /** * Send a component analysis request and get the report as 'application/json'. * @param {import('./provider').Provider} provider - the provided data for constructing the request * @param {string} manifest - path for the manifest * @param {string} url - the backend url to send the request to * @param {import("index.js").Options} [opts={}] - optional various options to pass along the application * @returns {Promise} */ declare function requestComponent(provider: import('./provider').Provider, manifest: string, url: string, opts?: import("index.js").Options): Promise; declare function requestStackBatch(sbomByPurl: Record, url: string, html?: true, opts?: import("index.js").Options): Promise; declare function requestStackBatch(sbomByPurl: Record, url: string, html?: false, opts?: import("index.js").Options): Promise>; /** * * @param {Array} imageRefs * @param {string} url * @param {import("index.js").Options} [opts={}] - optional various options to pass along the application * @returns {Promise>} */ declare function requestImages(imageRefs: Array, url: string, html?: boolean, opts?: import("index.js").Options): Promise>; /** * Append common analysis query parameters (recommend, providers, sources) to a URL. * @param {URL} url - the URL object to append query parameters to * @param {import("index.js").Options} [opts={}] - options containing parameter overrides */ declare function appendAnalysisQueryParams(url: URL, opts?: import("index.js").Options): void; /** * * @param url the backend url to send the request to * @param {import("index.js").Options} [opts={}] - optional various options to pass headers for t he validateToken Request * @return {Promise} return the HTTP status Code of the response from the validate token request. */ declare function validateToken(url: any, opts?: import("index.js").Options): Promise;