import { type ServerHandle } from "../runtime/index.js"; export interface StartOntOptions { /** Port for API server (default: 3000) */ port?: number; /** Port for MCP server (default: 3001) */ mcpPort?: number; /** Environment to use (default: 'dev') */ env?: string; /** Mode: 'development' warns on lockfile issues, 'production' fails. Defaults to 'production' unless NODE_ENV is explicitly 'development'. */ mode?: "development" | "production"; /** Set to true to only start the API server */ apiOnly?: boolean; /** Set to true to only start the MCP server */ mcpOnly?: boolean; } export interface StartOntResult { api?: ServerHandle; mcp?: { port: number; }; } /** * Start the ont API and MCP servers. * * Automatically discovers ontology.config.ts and handles lockfile validation. * * @example * ```ts * import { startOnt } from 'ont-run'; * * await startOnt({ * port: 3000, * mcpPort: 3001, * }); * ``` */ export declare function startOnt(options?: StartOntOptions): Promise;