UNPKG

create-ai-chat-context-experimental

Version:

Phase 2: TypeScript rewrite - AI Chat Context & Memory System with conversation extraction and AICF format support (powered by aicf-core v2.1.0).

44 lines 1.14 kB
/** * This file is part of create-ai-chat-context-experimental. * Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). * See LICENSE file for details. */ export type ValidationResult = { ok: true; isValid: true; warnings: string[]; } | { ok: true; isValid: false; errors: string[]; warnings: string[]; } | { ok: false; error: string; }; /** * File Validator for content and format validation */ export declare class FileValidator { /** * Validate AICF format file */ validateAICF(filePath: string): ValidationResult; /** * Validate Markdown format file */ validateMarkdown(filePath: string): ValidationResult; /** * Validate JSON format file */ validateJSON(filePath: string): ValidationResult; /** * Validate file by extension */ validateByExtension(filePath: string): ValidationResult; /** * Validate file content length */ validateContentLength(filePath: string, minLength?: number, maxLength?: number): ValidationResult; } //# sourceMappingURL=FileValidator.d.ts.map