/** * Dev Server command - starts the local development server for OCP apps * This is a top-level command (no namespace decorator), so it runs as `ocp dev-server` */ export declare class DevServerCommand { port: number; config?: string; path?: string; verbose: boolean; noOpen: boolean; private PACKAGE_NAME; start(): Promise; /** * Ensure @optimizely/ocp-local-env is installed globally and up-to-date. * Checks once per day and auto-installs or auto-upgrades as needed. */ private ensureOcpLocalEnv; /** * Check if a package is installed globally and return its version. * @returns The installed version or null if not installed */ private getInstalledVersion; /** * Get the latest version of a package from npm registry. * @returns The latest version or null if unavailable */ private getLatestVersion; /** * Install or update a global npm package. * @param isUpgrade Whether this is an upgrade (affects success message) * @returns True if successful, false otherwise */ private installGlobalPackage; }