import { FauxOntology } from '@osdk/faux'; import { PluginOption } from 'vite'; declare enum Level { debug = 0, info = 1, warn = 2, error = 3 } interface OacConfig { hooks?: { preSeed?: (fauxOntology: FauxOntology) => Promise; }; ontologyDir: string; loggerLevel?: keyof typeof Level; } declare class OacConfig { constructor(config: OacConfig); } /** * Vite plugin for Ontology as Code (OAC) that generates ontology IR, metadata, and OSDK * in both development and build modes. */ declare function ontologyAsCode(oacConfig: OacConfig): PluginOption; export { OacConfig, ontologyAsCode };