export interface SlashCommand { /** Command id, also the text after the leading `/` (e.g. 'new'). */ name: string; /** One-line description shown in the menu. */ description: string; } export declare const SLASH_COMMANDS: SlashCommand[]; export interface ParsedSlash { /** True when the text is a slash invocation (starts with '/'). */ isSlash: boolean; /** The command token after '/', lowercased, up to the first space. */ query: string; /** Everything after the first space, trimmed (command arguments). */ args: string; } /** Parse input-box text into its slash parts. Non-slash text yields isSlash:false. */ export declare function parseSlashInput(text: string): ParsedSlash; /** Commands whose name starts with `query` (case-insensitive). Empty query → all. */ export declare function filterSlashCommands(query: string, commands?: SlashCommand[]): SlashCommand[]; /** Exact command match for `query`, or null. */ export declare function findSlashCommand(query: string, commands?: SlashCommand[]): SlashCommand | null;