import type { AgentExtension } from "@cline/shared"; import { type SkillsExecutorWithMetadata } from "../tools"; import type { SkillConfig, UserInstructionConfigWatcher } from "./user-instruction-config-loader"; type SkillsExecutorMetadataItem = { id: string; name: string; description?: string; disabled: boolean; }; type ConfiguredSkill = SkillsExecutorMetadataItem & { skill: SkillConfig; }; export interface CreateUserInstructionPluginOptions { watcher: UserInstructionConfigWatcher; watcherReady?: Promise; includeRules?: boolean; includeSkills?: boolean; includeWorkflows?: boolean; registerSkillsTool?: boolean; allowedSkillNames?: ReadonlyArray; } export declare function getConfiguredSkillsFromWatcher(watcher: UserInstructionConfigWatcher, allowedSkillNames?: ReadonlyArray): ConfiguredSkill[]; export declare function createUserInstructionSkillsExecutor(watcher: UserInstructionConfigWatcher, watcherReady?: Promise, allowedSkillNames?: ReadonlyArray): SkillsExecutorWithMetadata; export declare function createUserInstructionPlugin(options: CreateUserInstructionPluginOptions): AgentExtension; export {};