import { validateConfigPath, validateInputPath, validateOutputPath } from './config-core.js'; export { validateConfigPath, validateInputPath, validateOutputPath }; export interface Config { /** Path to the OpenAPI 3.1 spec file (JSON or YAML) */ input_openapi: string; /** Path to user-owned Zod schema file (.ts). Optional. Bootstrapped on first run if absent. */ input_schema?: string; /** Directory to write generated files */ output: string; /** Base URL prefix for generated fetch client (default: '') */ baseUrl?: string; /** When true, generates server.ts with a createServerClient() factory for Next.js RSC (default: false) */ server_client?: boolean; } /** * Typed identity helper for config files. Provides autocomplete in JS/TS config files. * * Example (openapi-gen.config.mjs): * import { defineConfig } from '@codewithagents/openapi-gen' * export default defineConfig({ input_openapi: './openapi.json', output: './src/api' }) */ export declare function defineConfig(config: Config): Config; export declare function loadConfig(cwd: string, configPath?: string): Promise; //# sourceMappingURL=config.d.ts.map