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

declare class RouteRegistry {
    private routes;
    private hooks;
    getRoutes(): RouteBinding[];
    getHooks(): HookBinding[];
    addRoute(route: RouteBinding): void;
    addHook(hook: HookBinding): void;
    clear(): void;
    clearRepo(repoName: string, filePaths?: Set<string>): void;
    load(workspaceRoot: string): Promise<void>;
    save(workspaceRoot: string): Promise<void>;
    queryRoutes(filters: {
        framework?: string;
        method?: string;
        path?: string;
    }): RouteBinding[];
    queryHooks(filters: {
        framework?: string;
        hookType?: string;
        hookName?: string;
    }): HookBinding[];
}

export { RouteRegistry };
