import { TheCodegenConfiguration } from '../codegen/types'; /** * Parse a configuration string into a validated configuration object. * * @param configString - The configuration as a string (JSON or YAML) * @param format - The format of the string ('json' or 'yaml') * @returns The validated configuration object * @throws Error if parsing or validation fails */ export declare function parseConfig(configString: string, format: 'json' | 'yaml'): TheCodegenConfiguration; /** * Serialize a configuration object to a string. * * @param config - The configuration object * @param format - The output format ('json' or 'yaml') * @returns The configuration as a string */ export declare function serializeConfig(config: TheCodegenConfiguration, format: 'json' | 'yaml'): string;