import { AxioDB } from '../../Services/Indexation.operation';
import { TCPResponse } from '../types/protocol.types';
import { RequestContext } from '../connection/RequestContext';
/**
 * Command Handler - Main dispatcher for TCP commands
 * Routes commands to appropriate handlers
 */
export declare class CommandHandler {
    private axioDB;
    private dbHandler;
    private collectionHandler;
    private operationHandler;
    constructor(axioDB: AxioDB);
    /**
     * Handle incoming TCP request
     */
    handleRequest(context: RequestContext): Promise<TCPResponse>;
    /**
     * Route command to appropriate handler
     */
    private routeCommand;
    /**
     * Handle PING command
     */
    private handlePing;
    /**
     * Handle DISCONNECT command
     */
    private handleDisconnect;
    /**
     * Create error response
     */
    private createErrorResponse;
}
