/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import type { SlashCommand } from '../ui/commands/types.js';
/**
 * Parses a slash command string and finds the matching command.
 * @param rawQuery The raw user input string
 * @param commands The list of available commands
 * @returns The matched command, its arguments, and the canonical path of resolved commands
 */
export declare function parseSlashCommand(rawQuery: string, commands: readonly SlashCommand[]): {
    commandToExecute: SlashCommand | undefined;
    args: string;
    canonicalPath: string[];
};
