/** * PHP File Scanner * Scans directories for PHP files and reads their content */ /** * Represents a scanned PHP file */ export interface PhpFile { path: string; name: string; dir: string; content: string; lines: number; } /** * Represents extracted class information */ export interface ClassInfo { namespace: string | null; className: string | null; methods: MethodInfo[]; properties: PropertyInfo[]; uses: string[]; } /** * Represents a method in a PHP class */ export interface MethodInfo { visibility: string; name: string; parameters: string; returnType: string | null; } /** * Represents a property in a PHP class */ export interface PropertyInfo { visibility: string; type: string | null; name: string; } /** * Scanner options */ export interface ScanOptions { ignore?: string[]; } /** * Scan a directory or file path for PHP files * @param targetPath - Path to scan (file or directory) * @param options - Scan options * @returns Array of PHP files with their content */ export declare function scanPhpFiles(targetPath: string, options?: ScanOptions): Promise; /** * Extract class information from PHP content * @param content - PHP file content * @returns Extracted class info */ export declare function extractClassInfo(content: string): ClassInfo; //# sourceMappingURL=scanner.d.ts.map