/** * Options for Markdown structure validation */ export interface MarkdownStructureOptions { /** * Check heading hierarchy (h1 -> h2 -> h3, no skipping levels) * @default true */ checkHeadingHierarchy?: boolean; /** * Check link and image references are valid * @default true */ checkLinkReferences?: boolean; /** * Check list formatting and indentation consistency * @default true */ checkListFormatting?: boolean; /** * Check fenced code block syntax * @default true */ checkCodeBlocks?: boolean; /** * Allow first heading to be any level (when false, requires h1 first) * @default false */ allowAnyFirstHeading?: boolean; /** * Maximum heading level to validate (1-6) * @default 6 */ maxHeadingLevel?: number; /** * Markdown flavor to validate against * @default 'commonmark' */ flavor?: 'commonmark' | 'gfm' | 'github'; } /** * Default options for Markdown structure validation */ export declare const DEFAULT_MARKDOWN_STRUCTURE_OPTIONS: Required; /** * Parsed heading information */ export interface MarkdownHeading { level: number; text: string; line: number; raw: string; } /** * Parsed link or image reference */ export interface MarkdownLink { type: 'link' | 'image'; text: string; url: string; line: number; isReference: boolean; referenceId?: string; } /** * Parsed list item */ export interface MarkdownListItem { type: 'ordered' | 'unordered'; marker: string; indent: number; line: number; content: string; } /** * Parsed code block */ export interface MarkdownCodeBlock { language?: string; fence: string; line: number; isClosed: boolean; } //# sourceMappingURL=types.d.ts.map