import { DEFAULT_SKILL_SCOPE, isRuntimeVisibleScope, normalizeSkillScope, type SkillScope } from "./agent-chat/skill-frontmatter.js"; export { DEFAULT_SKILL_SCOPE, isRuntimeVisibleScope, normalizeSkillScope, type SkillScope, }; export interface SkillMeta { name: string; description: string; scope: SkillScope; requiresLab?: string; } export interface Skill { meta: SkillMeta; content: string; dir: string; extraFiles: string[]; files: Record; } export interface AgentsBundle { agentsMd: string; runtimeAgentsMd: string; developmentAgentsMd: string; workspaceAgentsMd?: string; skills: Record; } export interface AgentsBundleReadOptions { instructions?: AgentNativeInstructionsConfig; additionalSkillDirs?: string[]; } export interface AgentInstructionPaths { runtime: string; development: string; } export declare function resolveAgentInstructionPaths(instructions?: AgentNativeInstructionsConfig): AgentInstructionPaths; export declare function parseSkillFrontmatter(content: string, sourceLabel?: string): Partial; import type { AgentNativeInstructionsConfig } from "../config.js"; export interface WorkspaceAgentsSource { skillsDir: string | null; agentsMdPath: string | null; rootDir: string; } export declare function readAgentsBundleFromFs(cwd: string, workspaceSource?: WorkspaceAgentsSource | null, options?: AgentsBundleReadOptions): AgentsBundle; export declare function loadAgentsBundle(): Promise; export declare function getRuntimeSkills(bundle: AgentsBundle): Skill[]; export declare function getRuntimeSkillsForUser(bundle: AgentsBundle, userEmail?: string | null): Promise; export declare function getEnabledSkillLabsForUser(requiredLabs: Iterable, userEmail?: string | null): Promise>; export declare function getDevelopmentSkills(bundle: AgentsBundle): Skill[]; export declare function skillDocsSlug(name: string): string; export declare function skillSubfileDocsSlug(skillName: string, relPath: string): string; export declare function generateSkillsPromptBlock(bundle: AgentsBundle, runtimeSkills?: Skill[]): string; export declare function generateDevelopmentSkillsPromptBlock(bundle: AgentsBundle): string; export declare function __resetAgentsBundleCache(): void;