/**
 * Copilot Daemon Manager
 *
 * Manages the copilot-api daemon lifecycle (start/stop/status).
 * Uses local installation from ~/.ccs/copilot/ (managed by copilot-package-manager).
 */
import { CopilotDaemonStatus } from './types';
import { CopilotConfig } from '../config/unified-config-types';
/**
 * Check if copilot-api daemon is running on the specified port.
 * Uses 127.0.0.1 instead of localhost for more reliable local connections.
 */
export declare function isDaemonRunning(port: number): Promise<boolean>;
/**
 * Get daemon status.
 */
export declare function getDaemonStatus(port: number): Promise<CopilotDaemonStatus>;
/**
 * Start the copilot-api daemon.
 *
 * @param config Copilot configuration
 * @returns Promise that resolves when daemon is ready
 */
export declare function startDaemon(config: CopilotConfig): Promise<{
    success: boolean;
    pid?: number;
    error?: string;
}>;
/**
 * Stop the copilot-api daemon.
 */
export declare function stopDaemon(): Promise<{
    success: boolean;
    error?: string;
}>;
//# sourceMappingURL=copilot-daemon.d.ts.map