/**
 * Serve command for Night Watch CLI
 * Starts the HTTP API server for the Web UI
 */
import { Command } from 'commander';
type TServeMode = 'global' | 'local';
interface IServeLockResult {
    acquired: boolean;
    lockPath: string;
    existingPid?: number;
    stalePidCleaned?: number;
    message?: string;
}
export declare function getServeLockPath(mode: TServeMode, port: number): string;
export declare function acquireServeLock(mode: TServeMode, port: number): IServeLockResult;
export declare function releaseServeLock(lockPath: string): void;
export declare function serveCommand(program: Command): void;
export {};
//# sourceMappingURL=serve.d.ts.map