import type { ValidateError } from "@markdoc/markdoc"; import type { ValidationLevel } from "./types.ts"; /** * Handles Markdoc validation errors. * Logs non-breaking errors and throws an error if breaking errors are found * based on the configured validation level. * * @param errors - The array of validation errors from Markdoc.validate. * @param validationLevel - The configured level at which to throw an error. * @param filename - The name of the file being processed (for logging). * @throws Error if any errors are at or above the specified validationLevel. */ export declare function handleValidationErrors(errors: ValidateError[], validationLevel: ValidationLevel, filename: string): void;