import type { DatabaseSchema } from '../schema/types'; export interface GeneratorOptions { outDir: string; /** Import path from generated files back to the runtime. Defaults to "@mathislair/mtbdb". */ runtimeImport?: string; /** * Append `.js` to relative import specifiers in generated files. Required for * Node.js native ESM (`"type": "module"` + `module: "ES2022"`), which would * otherwise throw `ERR_MODULE_NOT_FOUND` on extensionless paths. * Defaults to `false` to preserve existing CommonJS / bundler behavior. */ emitJsExtensions?: boolean; } export declare function generate(schema: DatabaseSchema, opts: GeneratorOptions): void;