import type { SlashCommand } from "@mariozechner/pi-tui"; import type { SKYKOIConfig } from "../config/types.js"; export type ParsedCommand = { name: string; args: string; }; export type SlashCommandOptions = { cfg?: SKYKOIConfig; provider?: string; model?: string; }; export declare function parseCommand(input: string): ParsedCommand; /** * Every command name the TUI handles itself (built-ins + aliases), derived from * the registry above so the echo list in the command handlers can never drift. */ export declare function builtinCommandNames(): Set; /** * Aliases still ACCEPTED as typed input but hidden from every catalog view * (palette, autocomplete, /help) — one visible name per action, zero * redundancy in the list. Handlers and gateway textAliases keep routing the * hidden names, so muscle memory never breaks. */ export declare const COMMAND_ALIAS_TARGETS: Record; export declare const HIDDEN_COMMAND_ALIASES: Set; /** * Alias entries matching a typed prefix — so nothing ever feels MISSING. * The bare list stays deduplicated, but searching "/exi" surfaces /exit * (labeled as the same thing as /quit) whenever its canonical form doesn't * match the same prefix. */ export declare function aliasCommandsFor(filter: string): SlashCommand[]; export declare function getSlashCommands(options?: SlashCommandOptions): SlashCommand[]; export declare function helpText(options?: SlashCommandOptions): string; /** * /help, the rich edition — same content as helpText, rendered as a warm, * sectioned panel: command names in accent, descriptions plain, long lines * wrapped with a hanging indent instead of truncated. First-time friendly. */ export declare function helpRich(options?: SlashCommandOptions, width?: number): string;