/** * Tool Bodies - Shared execute functions for component discovery tools * * These functions contain the core logic and can be used with any SDK. * Each SDK wrapper defines its own Zod schemas for type safety. */ import { type ComponentInfo, type GroupedComponentInfo } from "../component-discovery"; export interface ListComponentsInput { category?: string; } export interface ListComponentsOutput { total: number; components: Array<{ id?: string; name: string; category: string; description?: string; importPath: string; }>; } export interface SearchComponentsInput { query: string; } export interface SearchComponentsOutput { query: string; found: number; results: Array<{ id?: string; name: string; category: string; description?: string; importPath: string; relevance: number; }>; } export interface GetComponentInfoInput { componentIds: string[]; } export interface GetComponentInfoOutput { requested: number; found: number; components: Record; } export declare function listComponentsExecute(input: ListComponentsInput): ListComponentsOutput; export declare function searchComponentsExecute(input: SearchComponentsInput): SearchComponentsOutput; export declare function getComponentInfoExecute(input: GetComponentInfoInput): GetComponentInfoOutput; export type ListSkillsOutput = { found: true; total: number; skills: Array<{ id: string; name: string; description: string; }>; } | { found: false; error: string; }; export interface ReadSkillInput { skillId: string; } export type ReadSkillOutput = { found: true; content: string; } | { found: false; error: string; availableSkillIds: string[]; }; export declare function listSkillsExecute(): ListSkillsOutput; export declare function readSkillExecute(input: ReadSkillInput): ReadSkillOutput; //# sourceMappingURL=tool-bodies.d.ts.map