import { type AiSkillAgent, type AiSkillDependency, type AiSkillLinkMode, type AiSkillRegistryEntry, type AiSkillTarget, type ModuleId, type SkillsLock, type StackkitModule } from "@berkayorhan/stackkit-schemas"; import { type CommandResult, type RunCommand } from "./package-manager.js"; export type AiSkillInstallCommand = { command: "npx"; args: string[]; target: AiSkillTarget; skill: AiSkillDependency; }; export type InstallAiSkillsOptions = { cwd?: string; runCommand: RunCommand; }; export type InstallAiSkillsResult = { installed: AiSkillDependency[]; unresolved: AiSkillDependency[]; }; export type ResolveSkillInstallResult = InstallAiSkillsResult & { planned: AiSkillDependency[]; }; export type ResolveAiSkillOptions = { officialAllowlist?: readonly string[]; curatedAllowlist?: readonly string[]; failedInstalls?: readonly { source?: string; skill: string; causedBy: ModuleId; reason: string; }[]; }; export type WriteLocalAiGuidanceInput = { targets: readonly AiSkillTarget[]; local: readonly AiSkillDependency[]; }; export declare const defaultOfficialSkillSources: readonly ["https://github.com/shadcn/ui", "https://github.com/fastapi/fastapi", "https://github.com/vercel-labs/agent-skills", "https://github.com/supabase/agent-skills", "https://github.com/neondatabase/agent-skills", "https://github.com/planetscale/database-skills", "https://github.com/clerk/skills", "https://github.com/better-auth/skills", "https://github.com/auth0/agent-skills"]; export declare const aiSkillTargetByAgent: Record; export declare function defineSkillSource(entry: AiSkillRegistryEntry): AiSkillRegistryEntry; export declare function resolveAiSkills(modules: readonly StackkitModule[], options?: ResolveAiSkillOptions): AiSkillDependency[]; export declare function resolveAiSkillTargets(agents?: readonly AiSkillAgent[]): AiSkillTarget[]; export declare function planAiSkillInstallCommands(skills: readonly AiSkillDependency[], targets?: readonly AiSkillTarget[], linkMode?: AiSkillLinkMode): AiSkillInstallCommand[]; export declare function installAiSkills(commands: readonly AiSkillInstallCommand[], options: InstallAiSkillsOptions): Promise; export declare function planSkillSyncCommands(lock: SkillsLock): AiSkillInstallCommand[]; export declare function applySkillSync(lock: SkillsLock, options: InstallAiSkillsOptions): Promise; export declare function mergeSkillDependencies(left: readonly AiSkillDependency[], right: readonly AiSkillDependency[]): AiSkillDependency[]; export declare function writeLocalAiGuidance(projectDirectory: string, input: WriteLocalAiGuidanceInput): Promise; export declare function isInstallableSkill(skill: AiSkillDependency): boolean; export declare function skillDependencyKey(dependency: AiSkillDependency): string; export declare function missingSkillInstallCommandRunner(): Promise; export declare function renderLocalAiGuidance(skillName: string, skill: AiSkillDependency): string; //# sourceMappingURL=skills.d.ts.map