import type { ComponentsResult, ComponentsTreeResult, ComponentShowResult } from '../types/index.js'; import type { ComponentQualifier } from '../types/components.js'; import { BaseDomain } from './base.js'; type ComponentsSearchParams = { query?: string; qualifiers?: ComponentQualifier[]; language?: string; page?: number; pageSize?: number; }; type ComponentsTreeParams = { component: string; strategy?: 'all' | 'children' | 'leaves'; qualifiers?: ComponentQualifier[]; sort?: 'name' | 'path' | 'qualifier'; asc?: boolean; page?: number; pageSize?: number; branch?: string; pullRequest?: string; }; /** * Domain module for component-related operations */ export declare class ComponentsDomain extends BaseDomain { /** * Search for components across projects * @param params Search parameters * @returns Promise with the list of components */ searchComponents(params?: ComponentsSearchParams): Promise; /** * Navigate component tree hierarchy * @param params Tree navigation parameters * @returns Promise with the component tree */ getComponentTree(params: ComponentsTreeParams): Promise; /** * Get detailed information about a specific component * @param key Component key * @param branch Optional branch name (not currently supported by API) * @param pullRequest Optional pull request ID (not currently supported by API) * @returns Promise with component details */ showComponent(key: string, branch?: string, pullRequest?: string): Promise; /** * Transform API response component to our domain model */ private transformComponent; } export {};