import type { AvailableCommand } from "@agentclientprotocol/sdk"; import type { AcpBuiltinCommandRuntime, AcpBuiltinSlashCommandResult } from "./types"; export type { AcpBuiltinCommandRuntime, AcpBuiltinSlashCommandResult } from "./types"; /** * Commands advertised to ACP clients. Entries without a text-mode `handle` * (e.g. `/quit`, `/login`, dashboards) are filtered out so the client doesn't * see commands it cannot drive. */ export declare const ACP_BUILTIN_SLASH_COMMANDS: AvailableCommand[]; /** * Dispatch a slash command in ACP/text mode. Returns: * - `false` when no builtin matched (or matched a TUI-only entry); the caller * should forward the input as a prompt. * - `{ consumed: true }` when the command handled the input entirely. * - `{ prompt }` when the command was handled but a residual prompt should be * sent to the model. * When `disabledOnly` is set, ACP-enabled builtins also return `false` so a * transport can apply only the unavailable-over-ACP policy before forwarding. */ export declare function executeAcpBuiltinSlashCommand(text: string, runtime: AcpBuiltinCommandRuntime, options?: { disabledOnly?: boolean; }): Promise;