/**
 * Chat Message Handler
 *
 * Handles chat.message hook:
 * - Intercepting commands
 * - Setting up sessions
 * - Auto-applying mission mode for Commander
 */
import type { ChatMessageHandlerContext } from "./interfaces/index.js";
export type { ChatMessageHandlerContext } from "./interfaces/index.js";
type ChatHookInput = {
    sessionID: string;
    agent?: string;
    model?: {
        providerID: string;
        modelID: string;
    };
    messageID?: string;
    variant?: string;
};
type ChatHookOutput = {
    parts: Array<{
        type: string;
        text?: string;
    }>;
};
/**
 * Create chat.message handler
 */
export declare function createChatMessageHandler(ctx: ChatMessageHandlerContext): (msgInput: ChatHookInput, msgOutput: ChatHookOutput) => Promise<void>;
