import { V as ValidationResult } from '../LLMail-CELnm7VA.cjs'; import '../utils/logger.cjs'; import 'winston'; import '../errors/errors.cjs'; declare class FileFormatValidator { private readonly FRONTMATTER_REGEX; /** * Validates that a file has the correct format: * - Must be a markdown file * - Must have frontmatter section that can be parsed as YAML * - Must have some content (even if just whitespace) */ validateFileFormat(filePath: string, content: string): ValidationResult; /** * Parse frontmatter from content string * Returns null if no valid frontmatter found */ parseFrontmatter(content: string): Record | null; validateFrontmatterFormat(content: string): ValidationResult; } export { FileFormatValidator };