import { r as SkillEntry, t as SkillCatalog } from "./index-6I1f9Ola.mjs"; import { ExtensionContext } from "@earendil-works/pi-coding-agent"; import { DoomOverlay } from "@agimon-ai/doompi-ui/doomOverlay"; //#region src/services/skillText/index.d.ts /** * Prefills the draft rather than submitting it. * * `/skill:` is expanded by Pi inside `prompt()`, which only the editor's * own submission path reaches: `sendUserMessage` sets `expandPromptTemplates` * false and would deliver the literal text. Leaving the command in the editor * keeps the expansion and costs one keystroke. */ export declare function skillInvocation(name: string): string; //#endregion //#region src/tui/skillsOverlay.d.ts type SkillsOverlayResult = { kind: 'invoke'; skill: SkillEntry; } | undefined; interface SkillsOverlayOptions { catalog: SkillCatalog; /** Repo root, so paths render relative rather than as absolute noise. */ repoRoot: string; readFile?: (filePath: string) => string; } export declare function openSkillsOverlay(ctx: ExtensionContext, options: SkillsOverlayOptions): Promise; //#endregion //#region src/types/skills.d.ts export declare const SKILLS_COMMAND = "skills"; export declare const SKILL_INVOCATION_PREFIX = "/skill:"; export declare const SKILL_COMMAND_PREFIX = "skill:"; export declare const LEADER_SOURCE = "@agimon-ai/doompi-skill"; /** * The `SPC e s` binding. * * The label and order repeat the core extension group exactly; the registry * rejects a contribution whose shared prefix disagrees. */ export declare const SKILLS_LEADER_CONTRIBUTION: { source: string; bindings: { id: string; path: [{ key: string; label: string; detail: string; order: number; }, { key: string; label: string; detail: string; }]; command: { name: string; }; }[]; }; //#endregion export type { SkillsOverlayResult }; //# sourceMappingURL=index.d.mts.map