import { HttpClient } from "../http/HttpClient"; import { DependencyRequest, DependencyResponse, IDependencyClient } from "./IDependencyClient"; import { ClientConfig } from "../interfaces/ClientConfig"; /** * HTTP client for dependency-related API operations. * Provides methods to retrieve dependency information for files and components. */ export declare class DependencyHttpClient extends HttpClient implements IDependencyClient { /** * Creates a new DependencyHttpClient instance. * @param clientConfig - Configuration for the HTTP client */ constructor(clientConfig: ClientConfig); /** * Retrieves dependency information for the specified files and components. * @param req - Request containing files and their associated components/purls * @returns Promise resolving to dependency information for each file * @throws Error if the request fails */ getDependencies(req: DependencyRequest): Promise; /** * Converts API response to DependencyResponse format. * TODO: Remove this adapter with new protobuf definition. This method keeps backward compatibility * @param dependencies - Raw API response * @returns Formatted DependencyResponse */ private toDependencyResponse; }