import { type ResourceDiagnostic, type Skill } from "@earendil-works/pi-coding-agent"; /** * A skill named in the task loads before the run: `/qa-thinking` puts that * SKILL.md in front of the prompt. pi does not do this for us — its own * `/skill:name` form expands only with prompt templates on, and a task carrying * a comment from a stranger never runs with those on. A name we do not ship * stays plain text, so `/testeiya` in a comment is still just words. */ export declare function expandSkills(prompt: string, skills: Skill[]): Expanded; /** * The skills a run can actually reach. Loaded through the loader every command * shares, so this list, `doctor` and the model's own list cannot drift — and a * checkout's skills are filtered out here exactly as they are in a run. */ export declare function loadBundledSkills(): Promise; export declare function runSkills(pattern?: string, json?: boolean): Promise; export interface Group { group: string; skills: Skill[]; } export interface Expanded { prompt: string; loaded: string[]; } export interface BundledSkills { count: number; groups: Group[]; diagnostics: ResourceDiagnostic[]; }