/**
 * Complexity query functions — read-only DB queries for complexity metrics.
 *
 * Split from complexity.ts to separate query-time concerns (DB reads, filtering,
 * pagination) from compute-time concerns (AST traversal, metric algorithms).
 */
import type { CodegraphConfig } from '../types.js';
export declare function complexityData(customDbPath?: string, opts?: {
    target?: string;
    limit?: number;
    sort?: string;
    aboveThreshold?: boolean;
    file?: string;
    kind?: string;
    noTests?: boolean;
    config?: CodegraphConfig;
    offset?: number;
}): Record<string, unknown>;
export declare function iterComplexity(customDbPath?: string, opts?: {
    noTests?: boolean;
    file?: string;
    target?: string;
    kind?: string;
    sort?: string;
}): Generator<{
    name: string;
    kind: string;
    file: string;
    line: number;
    endLine: number | null;
    cognitive: number;
    cyclomatic: number;
    maxNesting: number;
    loc: number;
    sloc: number;
}>;
//# sourceMappingURL=complexity-query.d.ts.map