import type { BuiltinSlashCommand, ParsedSlashCommand, SlashCommandResult, SlashCommandRuntime, SlashCommandSpec, TuiSlashCommandRuntime } from "./types"; export type { BuiltinSlashCommand, SubcommandDef } from "./types"; /** TUI-specific runtime accepted by `executeBuiltinSlashCommand`. */ export type BuiltinSlashCommandRuntime = TuiSlashCommandRuntime; /** Builtin command metadata used for slash-command autocomplete and help text. */ export declare const BUILTIN_SLASH_COMMAND_DEFS: ReadonlyArray; /** * Unified registry exposed for cross-mode tooling. Each spec carries at least * one of `handle` / `handleTui`. The TUI dispatcher prefers `handleTui`; the * ACP dispatcher requires `handle` and skips TUI-only entries. */ export declare const BUILTIN_SLASH_COMMANDS_INTERNAL: ReadonlyArray; /** * Execute a builtin slash command in the interactive TUI. * * Returns `false` when no builtin matched. Returns `true` when a command * consumed the input entirely. Returns a `string` when the command was handled * but remaining text should be sent as a prompt. */ export declare function executeBuiltinSlashCommand(text: string, runtime: BuiltinSlashCommandRuntime): Promise; /** Look up a unified spec by name or alias. Used by the ACP dispatcher. */ export declare function lookupBuiltinSlashCommand(name: string): SlashCommandSpec | undefined; export type { ParsedSlashCommand, SlashCommandResult, SlashCommandRuntime, SlashCommandSpec, TuiSlashCommandRuntime };