import { type AutocompleteProvider, type SlashCommand } from "@earendil-works/pi-tui"; import type { AgentSession } from "../../core/agent-session.js"; import type { SourceInfo } from "../../core/source-info.ts"; export declare function getAutocompleteSourceTag(sourceInfo?: SourceInfo): string | undefined; export declare function prefixAutocompleteDescription(description: string | undefined, sourceInfo?: SourceInfo): string | undefined; /** Discovery only. Typed commands still use the session's ordinary expansion path. */ export declare function getSessionSkillCommands(session: Pick): SlashCommand[]; /** Resolve again for every completion so lazy attachment and resource reload cannot leave a stale catalog. */ export declare function createSessionSkillAutocompleteProvider(resolveSession: () => Promise, onUnavailable?: (message: string) => void): AutocompleteProvider; /** Local view actions never become model input; skills are session messages, not UI execution. */ export declare function classifyChatCommand(text: string): "tasks" | "skill" | "other"; //# sourceMappingURL=skill-command-autocomplete.d.ts.map