import type { ProjectFile } from "../types.js"; export declare function isTeachingCriticalFile(relativePath: string): boolean; /** * Extract lightweight header from source code files. * Returns only import/require statements, export statements, * and "use client"/"use server" directives. * This dramatically reduces upload size (~500 bytes vs ~50KB per file). */ export declare function extractFileHeader(content: string): string; export declare function scanProjectFiles(rootDir: string): Promise; /** * Scan local project and return only teaching-critical files * (page.tsx, layout.tsx, API routes, middleware, lib/*, server/*, types/*). * Config files excluded. Files truncated to maxContentLength. */ export declare function scanTeachingCriticalFiles(rootDir: string, options?: { maxFiles?: number; maxContentLength?: number; }): Promise>; //# sourceMappingURL=file-scanner.d.ts.map