/** Repository roots that may contain canonical Agent Skills entrypoints. */ export declare const SKILL_ROOTS: readonly ["skills", ".agents/skills"]; export type SkillRoot = (typeof SKILL_ROOTS)[number]; /** Directory names reserved for support within a logical Skill directory. */ export declare const RESERVED_SKILL_SUPPORT_DIRS: readonly ["assets", "examples", "profiles", "references", "scripts"]; export type ReservedSkillSupportDirectory = (typeof RESERVED_SKILL_SUPPORT_DIRS)[number]; /** Exact operational Agent Skills entrypoint recognized by Renma discovery. */ export interface CanonicalSkillEntrypointPath { kind: "canonical"; currentPath: string; candidateName: string; } interface CanonicalSkillMigrationEntrypointPath extends CanonicalSkillEntrypointPath { targetPath: string; } /** Historical entrypoint states recognized only by explicit migration tooling. */ export type SkillMigrationEntrypointPath = CanonicalSkillMigrationEntrypointPath | { kind: "lowercase-entrypoint"; currentPath: string; targetPath: string; candidateName: string; } | { kind: "flat-legacy-entrypoint"; currentPath: string; targetPath: string; candidateName: string; }; /** Default discovery breadth for each reserved Skill-support directory. */ export declare const SKILL_SUPPORT_DISCOVERY_MODE: { readonly assets: "all-files"; readonly examples: "markdown"; readonly profiles: "markdown"; readonly references: "all-files"; readonly scripts: "all-files"; }; /** Canonical Skill entrypoint globs used by default operational scans. */ export declare const DEFAULT_SKILL_ENTRYPOINT_GLOBS: string[]; /** Symmetric default support-resource globs for both recognized Skill roots. */ export declare const DEFAULT_SKILL_SUPPORT_GLOBS: string[]; /** Broad existence evidence used independently from configured scan globs. */ export declare const SKILL_SUPPORT_EXISTENCE_GLOBS: string[]; export interface SkillRootMatch { root: SkillRoot; startIndex: number; endIndex: number; } /** Match one recognized Skill root at the start of a repository-relative path. */ export declare function matchRepositorySkillRoot(segments: readonly string[]): SkillRootMatch | undefined; /** Find non-overlapping recognized Skill roots within an absolute path. */ export declare function findAbsoluteSkillRoots(segments: readonly string[]): SkillRootMatch[]; /** Internal migration-only recognition for an explicit repository-relative target. */ export declare function classifyRepositorySkillMigrationEntrypointPath(relativePath: string): SkillMigrationEntrypointPath | undefined; /** Internal migration-only recognition for an explicit absolute target. */ export declare function classifyAbsoluteSkillMigrationEntrypointPath(absolutePath: string): SkillMigrationEntrypointPath | undefined; /** Classify one exact canonical entrypoint after its supported root is known. */ export declare function classifyCanonicalSkillEntrypointAtRoot(currentPath: string, segments: string[], rootEndIndex: number): CanonicalSkillEntrypointPath | undefined; export {};