import type { OrgRole } from '../orgrt/types.js'; import { type CatalogItem } from './jev.js'; export interface RouteLike { name: string; agentSlug: string; description?: string; utterances?: string[]; } /** Registry agents (see agentSource). */ export declare function agentCatalog(root: string): CatalogItem[]; /** Every spawnable agent name (frontmatter `name`, the Task subagent_type) in * the registry. Deprecated agents are included: picks hide them, but a Task * call naming one still works. */ export declare function agentNames(root: string): Set; /** True when .claude/helpers/skill-registry.json is missing or older than a * source; undefined when the builder is unavailable. */ export declare function skillIndexIsStale(root: string): boolean | undefined; /** * The skill index for `root` (platform skills + Org library), with the * bundled builder. Inside a project (findProjectRoot) with a `.claude` dir, * the project's .claude/helpers/skill-registry.json is refreshed when a source * is newer (the hook reads that file); anywhere else — $HOME included — the * index is built in memory only. `user: false` leaves ~/.claude/skills out and * always indexes in memory. */ export declare function skillIndex(root: string, opts?: { user?: boolean; }): unknown; /** Catalog skills leave the machine only with the `jev` target; legacy skills * are unchanged. Without a root no catalog skill is sent. */ export declare function jevVisible(root: string | undefined, items: readonly T[]): T[]; /** Org-library skills (project, user, bundled, and catalog skills approved for * `jev`), optionally limited to `names`. */ export declare function orgSkillCatalog(root: string, names?: string[]): CatalogItem[]; /** Every skill a task can use, as one index: platform skills first (they are * directly invokable), then Org-library skills that are not a platform skill * or an agent by another name. Org skills are read with the org_skill_show * MCP tool. The same loader the prompt hook uses, over the same index. */ export declare function taskSkillCatalog(root: string): CatalogItem[]; export declare function roleCatalog(roles: Pick[]): CatalogItem[]; //# sourceMappingURL=catalogs.d.ts.map