/**
 * Wiki hub ranker — ranks symbols by file-level PageRank with a builtin-name
 * blocklist gate to keep JS/TS prototype methods out of the hub list when
 * they accidentally collide with project symbols defined in low-importance
 * files. See spec D4 (Layer 2 + Layer 3).
 */
import type { ImportEdge } from "../utils/import-graph.js";
import type { HubSymbol } from "./wiki-page-generators.js";
export interface RankedHubSymbol extends HubSymbol {
    pagerank: number;
    file_rank: number;
}
export interface RankHubsResult {
    hubs: RankedHubSymbol[];
    degraded_reason?: string;
}
interface HubCandidate {
    name: string;
    file: string;
    role: string;
    callers: number;
    callees: number;
}
/** Rank hubs by file-level PageRank, filtering builtin method names that
 *  only survive on low-importance files. */
export declare function rankHubsByPageRank(edges: ImportEdge[], candidates: HubCandidate[], options?: {
    topK?: number;
    minFileRank?: number;
}): RankHubsResult;
/** JavaScript / TypeScript prototype method names frequently appearing as
 *  fake callers when extractCallSites misclassifies `obj.method(...)` as a
 *  call to a bare project function. Used to filter hubs whose defining file
 *  is not structurally important (PageRank file_rank > 20). */
export declare const JS_BUILTIN_METHOD_NAMES: ReadonlySet<string>;
export {};
//# sourceMappingURL=wiki-hub-ranker.d.ts.map