/**
 * Core worker class for DAP Proxy functionality
 * Encapsulates all business logic in a testable form
 */
import { DapProxyDependencies, ParentCommand, ProxyInitPayload, DapCommandPayload, ProxyState } from './dap-proxy-interfaces.js';
export declare class DapProxyWorker {
    private dependencies;
    private logger;
    private dapClient;
    private adapterProcess;
    private currentSessionId;
    private currentInitPayload;
    private state;
    private requestTracker;
    private processManager;
    private connectionManager;
    constructor(dependencies: DapProxyDependencies);
    /**
     * Get current state for testing
     */
    getState(): ProxyState;
    /**
     * Main command handler
     */
    handleCommand(command: ParentCommand): Promise<void>;
    /**
     * Handle initialization command
     */
    handleInitCommand(payload: ProxyInitPayload): Promise<void>;
    /**
     * Handle dry run mode
     */
    private handleDryRun;
    /**
     * Start debugpy adapter and establish connection
     */
    private startDebugpyAdapterAndConnect;
    /**
     * Set up DAP event handlers
     */
    private setupDapEventHandlers;
    /**
     * Handle DAP initialized event
     */
    private handleInitializedEvent;
    /**
     * Handle DAP command
     */
    handleDapCommand(payload: DapCommandPayload): Promise<void>;
    /**
     * Handle request timeout
     */
    private handleRequestTimeout;
    /**
     * Handle terminate command
     */
    handleTerminate(): Promise<void>;
    /**
     * Shutdown the worker
     */
    shutdown(): Promise<void>;
    private sendStatus;
    private sendDapResponse;
    private sendDapEvent;
    private sendError;
}
