import type Database from 'better-sqlite3';
import type { AgentEngine } from './engine.js';
export interface ChatHandlerConfig {
    db: Database.Database;
    bridge: AgentEngine;
    broadcast: (squadName: string, message: Record<string, unknown>) => void;
    broadcastToAll: (message: Record<string, unknown>) => void;
    squadsDir: string;
}
export declare class ChatHandler {
    private db;
    private bridge;
    private broadcast;
    private broadcastToAll;
    private squadsDir;
    constructor(config: ChatHandlerConfig);
    handleChatSend(squadName: string, message: string, files?: Array<{
        name: string;
        content: string;
    }>): void;
    handleNewConversation(squadName: string): void;
    stop(squadName: string): void;
    /** Read available squads from squadsDir for context injection */
    private getSquadsContext;
    /** Read ExpxAgents skill content from .claude/skills/expxagents/SKILL.md */
    private getExpxAgentsSkillContent;
    /** Read company context from _expxagents/_memory/company.md if configured */
    private getCompanyContext;
    private buildPrompt;
}
//# sourceMappingURL=chat-handler.d.ts.map