import type { SharedUtils, ValidationResult } from '@bernierllc/validators-core'; import type { MarkdownStructureOptions } from './types'; /** * Markdown Structure Validator * * Validates Markdown document structure including heading hierarchy, * link references, list formatting, and code block syntax. Supports * CommonMark and GitHub Flavored Markdown (GFM). * * @example * ```typescript * import { validateMarkdownStructure } from '@bernierllc/validators-markdown-structure'; * * const markdown = ` * # Title * ## Section * - Item 1 * - Item 2 * `; * * const result = await validateMarkdownStructure(markdown, {}, utils); * * if (result.problems.length > 0) { * console.log('Structure issues found:', result.problems); * } * ``` */ export declare function validateMarkdownStructure(markdown: string, options: MarkdownStructureOptions | undefined, utils: SharedUtils): Promise; /** * Create a configured Markdown structure validator * * @example * ```typescript * import { createMarkdownStructureValidator } from '@bernierllc/validators-markdown-structure'; * * const validator = createMarkdownStructureValidator({ * checkHeadingHierarchy: true, * checkLinkReferences: true, * checkListFormatting: false, // Disable list checks * allowAnyFirstHeading: true, // Allow any level for first heading * }); * * const result = await validator.validate(markdownContent, utils); * ``` */ export declare function createMarkdownStructureValidator(options?: MarkdownStructureOptions): { validate: (markdown: string, utils: SharedUtils) => Promise; getMeta: () => { name: string; version: string; description: string; domain: 'parsing'; enabledRules: string[]; }; }; //# sourceMappingURL=validator.d.ts.map