import type { NormalizedRule, ValidationError } from '../types/index.js'; import type { MarkdocSchema } from '../parser/markdoc/schema.js'; /** * Full validation pipeline. `options.configDir` (default `process.cwd()`) is * where a relative `markdoc.extend.tagsFile` resolves from -- the directory * containing the config file, so a project's `tagsFile: ./tags.yaml` behaves * the same regardless of the caller's own working directory. */ export declare function validate(config: any, options?: { configDir?: string; }): Promise<{ isValid: boolean; errors: ValidationError[]; rules: NormalizedRule[]; markdoc: { enabled: boolean; schema: MarkdocSchema | null; }; /** The config's top-level `baseline` path, as written (config-relative). */ baselinePath?: string; }>; //# sourceMappingURL=validate.d.ts.map