import type { RedoclyConfig } from '@redocly/config';
import type { JSONSchemaType } from '@redocly/ajv';
import type { Fs } from '../../../../fs/fs.js';
export declare function readAndValidateConfig<T extends Partial<RedoclyConfig>>(configPath: string, fs: Fs, reportError: (error: Error) => void, getValidationSchemaFn: (parsedConfig: T) => Promise<JSONSchemaType<T> | undefined>): Promise<T | undefined>;
export declare function ensureAccessBackwardsCompatibility<T extends Partial<RedoclyConfig>>(config: T): T;
//# sourceMappingURL=read-and-validate-config.d.ts.map