/**
 * Cursor Daemon Manager
 *
 * Manages the cursor daemon lifecycle (start/stop/status).
 * Uses CursorExecutor for OpenAI-compatible API proxy to Cursor backend.
 */
import type { CursorDaemonConfig, CursorDaemonStatus } from './types';
export { getPidFromFile, writePidToFile, removePidFile } from './cursor-daemon-pid';
/**
 * Check if cursor 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<CursorDaemonStatus>;
/**
 * Start the cursor daemon.
 *
 * @param config Cursor configuration
 * @returns Promise that resolves when daemon is ready
 */
export declare function startDaemon(config: CursorDaemonConfig): Promise<{
    success: boolean;
    pid?: number;
    error?: string;
}>;
/**
 * Stop the cursor daemon.
 */
export declare function stopDaemon(): Promise<{
    success: boolean;
    error?: string;
}>;
//# sourceMappingURL=cursor-daemon.d.ts.map