/** * F1: Centrality algorithms — PageRank and Eigenvector centrality * * Uses iterative SQL with temp tables (no recursive CTEs — segfault risk). * Validated patterns from tests/fierce-f1-isolated.ts. * * v1.2.0: handlers wrap their `duckdb` argument in a `ComputeSession` so all * statements (CREATE TEMP, ALTER, DROP, SELECT) run on the same pinned * connection. See `src/compute-session.ts` for why this matters when the * host service routes reads/writes to different connections. */ import type { PageRankResult, EigenvectorResult } from '../types/graph-types.js'; import { type ComputeSession, type DuckDBLike } from '../compute-session.js'; /** * graph.pagerank — Iterative PageRank with damping factor */ export declare function handlePageRank(args: unknown, duckdb: DuckDBLike | ComputeSession): Promise; /** * graph.eigenvector — Power iteration eigenvector centrality */ export declare function handleEigenvector(args: unknown, duckdb: DuckDBLike | ComputeSession): Promise; //# sourceMappingURL=graph-centrality.d.ts.map