import type { DaemonServerOptions, ServerStatusResult, WaitForReadyOptions } from './types.js'; /** * Checks if ClickHouse server is running by attempting to connect to the HTTP port * * @param options - Options for server status check * @returns Server status information */ export declare function isServerRunning(options?: { port?: number; }): Promise; /** * Waits for ClickHouse server to become ready by polling the HTTP port * * @param options - Options for waiting * @returns True if server became ready, throws if timeout exceeded */ export declare function waitForReady(options?: WaitForReadyOptions): Promise; /** * Starts ClickHouse server as a daemon process * * @param options - Server startup options * @returns Process ID of the started server */ export declare function startServer(options: DaemonServerOptions): Promise; /** * Attempts to gracefully stop the ClickHouse server * * @param options - Options for stopping the server * @returns True if server was stopped successfully */ export declare function stopServer(options?: { port?: number; }): Promise; //# sourceMappingURL=server.d.ts.map