/** * Registry search flow module * * Provides a flow for searching skillsets, skills, and subagents in the Nori registry. * This flow handles: * - Intro message * - Spinner while searching * - Note display with search results * - Download hints * - Outro message */ /** * Result from the search callback */ export type SearchFlowResult = { success: true; hasResults: true; formattedResults: string; downloadHints: string; skillsetCount: number; skillCount: number; subagentCount: number; } | { success: true; hasResults: false; query: string; } | { success: false; error: string; }; /** * Callbacks for the registry search flow */ export type RegistrySearchFlowCallbacks = { onSearch: () => Promise; }; /** * Result of the registry search flow */ export type RegistrySearchFlowResult = { found: boolean; statusMessage: string; }; /** * Execute the registry search flow * * This function handles the complete search UX: * 1. Shows spinner while searching registries * 2. Displays results in a note or shows no-results message * 3. Shows download hints if results were found * * @param args - Flow configuration * @param args.callbacks - Callback functions for searching * * @returns Search result on success, null on failure */ export declare const registrySearchFlow: (args: { callbacks: RegistrySearchFlowCallbacks; }) => Promise; //# sourceMappingURL=registrySearch.d.ts.map