/** * `$`-triggered skill autocompletion for pi's TUI input editor. * * Wraps the existing autocomplete provider so that when the cursor sits inside * a `$` token, we present the list of mention-addressable skills * instead of the default file/command completions. All other contexts * delegate to the wrapped provider unchanged. */ import type { AutocompleteProvider } from "@earendil-works/pi-tui"; import type { MentionSkill } from "./skill-registry.js"; export interface MentionAutocompleteOptions { /** Live skill index; re-resolved each call so new skills appear without reload. */ getSkills(): Map; } export declare function createMentionAutocompleteProvider(inner: AutocompleteProvider, opts: MentionAutocompleteOptions): AutocompleteProvider;