import type { Validator, LintResult, ValidationContext } from '../../../core/types.js'; /** * テキスト教材の文書構造検証バリデーター */ export declare class StructureValidator implements Validator { readonly id = "text/structure"; readonly name = "\u6587\u66F8\u69CB\u9020\u691C\u8A3C"; validate(context: ValidationContext): LintResult[]; /** * H1見出しがないことをチェック * テキスト教材ではH1見出しは使用禁止(タイトルはフロントマターで指定) */ private checkH1Headings; /** * {{ toc }}の直後に「## はじめに」があるかチェック */ private checkIntroductionSection; /** * ASTから見出し情報を収集する */ private collectHeadings; } //# sourceMappingURL=StructureValidator.d.ts.map