import type { Config } from "../config/schema.js"; /** * Server connection information. */ export interface ServerConnection { baseUrl: string; pid: number; } /** * Get server connection if available. * @param libraryPath - Path to the library file * @param config - Configuration * @returns Server connection or null if not available */ export declare function getServerConnection(libraryPath: string, config: Config): Promise; /** * Start server in daemon mode. * Spawns server process directly (without --daemon flag) in background. * @param libraryPath - Path to the library file * @param _config - Configuration (reserved for future use) */ export declare function startServerDaemon(libraryPath: string, _config: Config): Promise; /** * Wait for portfile to appear. * @param timeoutMs - Timeout in milliseconds */ export declare function waitForPortfile(timeoutMs: number): Promise; //# sourceMappingURL=server-detection.d.ts.map