/** Minimal config fields required by every package. */ export interface BaseConfig { /** Path to the OpenAPI 3.1 spec file (JSON or YAML) */ input_openapi: string; /** Directory to write generated files */ output: string; } export declare const FORBIDDEN_OUTPUT_PREFIXES: string[]; export declare const FORBIDDEN_INPUT_PREFIXES: string[]; /** Returns true when the path ends in a JS/ESM config extension. */ export declare function isJsConfigPath(configPath: string): boolean; export declare function validateConfigPath(configPath: string): void; export declare function validateOutputPath(resolvedOutput: string): void; export declare function validateInputPath(resolvedInput: string): void; /** Options for loadConfigFile. */ export interface LoadConfigOptions { /** Working directory used to resolve relative paths. */ cwd: string; /** Explicit config file path (optional). If omitted, defaultFileName is used. */ configPath?: string; /** Default config file name, resolved against cwd when configPath is not provided. */ defaultFileName: string; /** * Package-specific parse function. Receives the raw config record, the validated * base fields, and cwd. Must return the final typed config object. */ parse: (raw: Record, base: BaseConfig, cwd: string) => T; } export declare function loadConfigFile(opts: LoadConfigOptions): Promise; //# sourceMappingURL=config-core.d.ts.map