import { ComponentMatch } from '../routes/components';
import { ComponentNode } from '../types/change-types';
export declare class ComponentSearchService {
    private log;
    /**
     * Extract meaningful classNames from element, filtering out common utilities
     */
    private extractMeaningfulClassNames;
    /**
     * Capitalize first letter for component name matching
     */
    private capitalize;
    /**
     * Find component files by searching for component definitions
     * Searches all tsx/jsx files for export patterns matching component names
     */
    findComponentsByName(projectPath: string, componentTree: ComponentNode[]): Promise<ComponentMatch[]>;
    /**
     * Find components that contain the selected element's className, id, or tag
     * Prioritizes Fiber-based component tree search when available
     */
    findMatchingComponents(projectPath: string, element: any): Promise<ComponentMatch[]>;
}
//# sourceMappingURL=ComponentSearchService.d.ts.map