import { type ErrorObject } from 'ajv';
/**
 * Validate an object against a JSON Schema provided as a YAML file.
 * @param configuration - The object to validate.
 * @param schemaFilePath - The path to the YAML file containing the JSON Schema.
 * @returns An array of validation errors if any, otherwise returns the configuration.
 */
export default function validate(filePathOrObject: object | string): ErrorObject[] | null;
//# sourceMappingURL=validate.d.ts.map