import { Hono } from "hono"; import type { OntologyConfig } from "../../config/types.js"; import { type OntologyVariables } from "./middleware.js"; export interface ApiServerOptions { /** The ontology configuration */ config: OntologyConfig; /** Environment to use (e.g., 'dev', 'prod') */ env: string; /** Enable CORS (default: true) */ cors?: boolean; /** Config directory for lockfile validation. If provided, validates lockfile and auto-launches review UI in dev mode. */ configDir?: string; /** Path to the ontology.config.ts file (used for review UI source display) */ configPath?: string; } /** * Create the Hono API app from an OntologyConfig */ export declare function createApiApp(options: ApiServerOptions): Hono<{ Variables: OntologyVariables; }>; export { getFunctionsInfo } from "./router.js";