/** * @fileoverview Validation and ID-parsing helpers for SkillInstallationService * @module @skillsmith/core/services/skill-installation.validate * @see SMI-4745: domain-driven split to stay under the 500-line CI gate */ import type { TrustTier } from '../types/skill.js'; import type { DepIntelResult, RegistryLookup, InstallResult, QuarantineStatus } from './skill-installation.types.js'; export interface ParsedSkillId { owner: string; repo: string; path: string; isRegistryId: boolean; } export declare function parseSkillIdInternal(input: string): ParsedSkillId; export interface SkillMdValidation { valid: boolean; errors: string[]; } export declare function validateSkillMd(content: string): SkillMdValidation; /** SMI-3870: Validate config.json content; returns validity and warnings. */ export declare function validateOptionalConfig(content: string): { valid: boolean; warnings: string[]; }; /** SMI-3871: Cross-reference dependency targets against quarantine status. */ export declare function checkDepsAgainstQuarantine(depIntel: DepIntelResult, getStatus: (skillId: string) => QuarantineStatus | null): { warnings: string[]; quarantinedDeps: string[]; }; export type RegistryLookupResult = { resolved: true; owner: string; repo: string; basePath: string; branch: string; skillName: string; trustTier: TrustTier; indexedContentHash: string | undefined; } | { resolved: false; failure: InstallResult; }; export declare function resolveRegistryInstall(skillId: string, lookup: RegistryLookup): Promise; //# sourceMappingURL=skill-installation.validate.d.ts.map