import type { SkillCandidate, SkillSnapshot } from '../types.js'; export declare const MAX_TREE_ITEMS = 1000; export declare const MAX_FILES_PER_SKILL = 20; export declare const MAX_FILE_BYTES = 100000; export declare const MAX_TOTAL_SKILL_BYTES = 300000; export declare const MAX_PRIMARY_SKILL_BYTES = 150000; export declare function parseGitHubSource(value: unknown): { owner: string; repo: string; source: string; }; export declare function validateSourceCommit(value: unknown): string; /** Validate and canonicalize a provider candidate before any source request. */ export declare function validateSkillCandidate(value: SkillCandidate): SkillCandidate; /** Return the skill slug represented by a verified primary SKILL.md path. */ export declare function canonicalSkillSlugFromPrimaryPath(primaryPath: string): string; export declare function validateSkillSnapshot(input: { candidate: SkillCandidate; sourceCommit: string; files: Array<{ path: string; content: string; primary: boolean; }>; }): SkillSnapshot; /** Recompute every derived field before a snapshot crosses the persistence boundary. */ export declare function revalidateSkillSnapshot(snapshot: SkillSnapshot): SkillSnapshot; //# sourceMappingURL=snapshot-validator.d.ts.map