import type { BetterSqlite3Database } from '../../types.js';
/**
 * Find cycles using Tarjan's SCC algorithm.
 *
 * Builds a label-based adjacency list directly from DB rows — no intermediate
 * CodeGraph construction. This is O(V + E) with minimal memory overhead.
 */
export declare function findCycles(db: BetterSqlite3Database, opts?: {
    fileLevel?: boolean;
    noTests?: boolean;
}): string[][];
export declare function findCyclesJS(edges: Array<{
    source: string;
    target: string;
}>): string[][];
export declare function formatCycles(cycles: string[][]): string;
//# sourceMappingURL=cycles.d.ts.map