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

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

export { RailsDetector };
