/** * Unified Command System * * Provides a platform-agnostic command system that works across * Telegram, Feishu, Web UI, CLI, and other channel surfaces. */ export type { MessageSource, UnifiedMessage, PlatformMetadata, MessageAttachment, CommandDefinition, CommandCategory, CommandScope, CommandHandler, CommandResult, CommandStreamEvent, BtwQueryOptions, CommandContext, ReplyOptions, UIComponent, ButtonGroup, SelectMenu, ModelPicker, UsageDisplay, SessionList, TextInput, ProviderInfo, ModelInfo, UsageStats, SessionInfo, PlatformFeature, ChannelAdapter, ReplyPayload, } from './types.js'; export { generateSessionKey, getSessionDisplayName, type SessionKeyContext } from './session-key.js'; export { normalizeTelegramCommandName, parseSlashCommand } from './command-parse.js'; export { CommandRegistry, commandRegistry } from './registry.js'; export type { CommandRegistry as CommandRegistryType } from './types.js'; export { CommandContextImpl, createCommandContext } from './context.js'; export { registerSessionCommands } from './builtins/session.js'; export { registerModelCommands } from './builtins/model.js'; export { registerSystemCommands } from './builtins/system.js'; export { registerTTSCommands } from './builtins/tts.js'; export { registerThinkingCommands } from './builtins/thinking.js'; export { registerConfigCommand } from './builtins/config.js'; export { registerContextCommands } from './builtins/context.js'; export { registerWorkflowCommands } from './builtins/workflow.js'; export { registerReviewCommand } from './builtins/review.js'; export { registerSkillCommand } from './builtins/skill.js'; export { registerUnderstandingCommands } from './builtins/understanding.js'; export { registerAgentEditCommand } from './agent-edit.js'; /** * Initialize the command system with all built-in commands */ export declare function initializeCommands(): void;