import { Command } from "commander"; import type { SkillSummary } from "@skills-hub-ai/shared"; /** * Read dependency names from common project files in the current directory. */ declare function detectDeps(cwd: string): string[]; export { detectDeps as _detectDeps }; type SuggestResponse = SkillSummary[] | { data?: SkillSummary[] | null; } | null | undefined; /** * Read the skill list out of a suggest-by-deps response. * * The endpoint returned a bare array until 2026-07-30 and a * {data,cursor,hasMore} envelope after. Both shapes are accepted on purpose: * every CLI already on npm ships the old unwrapping, so a build that * understood only the envelope would break against an older self-hosted API, * and one that understood only the array crashes with "skills is not * iterable" against the current one. Anything unexpected degrades to an empty * list, because a suggestion feature is not worth a stack trace. */ export declare function unwrapSkillList(response: SuggestResponse): SkillSummary[]; export declare const suggestCommand: Command; //# sourceMappingURL=suggest.d.ts.map