import { FrameworkDetector, ScanContext, RouteBinding } from '../../types.js';

declare class SpringDetector implements FrameworkDetector {
    readonly name = "spring";
    readonly language = "java";
    readonly filePattern: RegExp;
    detect(projectRoot: string, files: string[]): Promise<boolean>;
    extractRoutes(filePath: string, content: string, ctx: ScanContext): Promise<RouteBinding[]>;
}

export { SpringDetector };
