/** * SMI-1189: File Scanner * * File system scanning and content extraction. */ import type { ImportedSkill } from './types.js'; /** * Extracts scannable content from an imported skill * Combines all text fields that should be scanned * * @param skill - The imported skill to extract content from * @returns Combined text content for scanning */ export declare function extractScannableContent(skill: ImportedSkill): string; /** * Read and parse imported skills from a JSON file * * @param inputPath - Path to the imported skills JSON file * @returns Array of imported skills * @throws Error if file cannot be read or parsed */ export declare function readImportedSkills(inputPath: string): Promise; /** * Ensure a directory exists, creating it if necessary * * @param dirPath - Path to the directory */ export declare function ensureDirectoryExists(dirPath: string): void; /** * Check if a file exists * * @param filePath - Path to the file * @returns true if file exists */ export declare function fileExists(filePath: string): boolean; /** * Write JSON data to a file * * @param filePath - Path to the output file * @param data - Data to write */ export declare function writeJsonFile(filePath: string, data: unknown): Promise; //# sourceMappingURL=file-scanner.d.ts.map