sicua
Version:
A tool for analyzing project structure and dependencies
18 lines (17 loc) • 683 B
TypeScript
import { type IConfigManager, ScanResult } from "../types";
export interface ProjectStructureInfo {
projectType: "nextjs" | "react";
nextjsVersion?: string;
routerType?: "app" | "pages";
hasSourceDirectory: boolean;
sourceDirectory: string;
detectedDirectories: string[];
}
/**
* Main directory scan with complete security analysis and dynamic project structure detection
*/
export declare function scanDirectory(dir: string, config: IConfigManager): Promise<ScanResult>;
/**
* Get file paths only, for compatibility with existing code that needs just paths
*/
export declare function getFilePaths(dir: string, config: IConfigManager): Promise<string[]>;