/**
 * Command Processor
 *
 * Integrates the command system with AgentService.
 * Processes incoming messages and routes commands appropriately.
 */
import type { UnifiedMessage } from './types.js';
import type { MessageBus } from '../infra/bus/index.js';
import type { SessionStore } from '../session/index.js';
import type { Config } from '../config/schema.js';
export interface CommandProcessorDeps {
    bus: MessageBus;
    sessionStore: SessionStore;
    config: Config;
    getCurrentModel: () => string;
    switchModel: (modelId: string) => Promise<boolean>;
    listModels: () => Promise<Array<{
        id: string;
        name: string;
        provider: string;
    }>>;
    getUsage: () => Promise<{
        promptTokens: number;
        completionTokens: number;
        totalTokens: number;
        messageCount: number;
    }>;
}
/**
 * Process a unified message
 * Returns true if the message was handled (command or otherwise), false if should continue to AI
 */
export declare function processMessage(message: UnifiedMessage, deps: CommandProcessorDeps): Promise<boolean>;
