/**
 * detect_hono_modules — clusters routes into logical modules without any new
 * AST walking. Uses the 2-segment path prefix as the clustering key (e.g.,
 * /api/admin/users → /api/admin), then rolls up middleware, env bindings,
 * and source files per group. Single-segment routes cluster on the first
 * segment alone.
 *
 * Closes Hono GitHub Issue #4121 — there is no existing architecture
 * guidance for enterprise Hono apps with multiple logical modules. This
 * tool surfaces the implicit module structure already encoded in path
 * prefixes and shared middleware.
 *
 * Spec: docs/specs/2026-04-11-hono-phase-2-plan.md (T11)
 */
import type { HonoModule } from "../parser/extractors/hono-model.js";
export interface HonoModulesResult {
    modules?: HonoModule[];
    total?: number;
    error?: string;
}
export declare function detectHonoModules(repo: string): Promise<HonoModulesResult>;
//# sourceMappingURL=hono-modules.d.ts.map