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

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

export { RustDetector };
