import type { BetterSqlite3Database } from '../../types.js';
interface CfgBlockRow {
    id: number;
    block_index: number;
    block_type: string;
    start_line: number;
    end_line: number;
    label: string | null;
}
interface CfgEdgeRow {
    kind: string;
    source_index: number;
    source_type: string;
    target_index: number;
    target_type: string;
}
/**
 * Check whether CFG tables exist.
 */
export declare function hasCfgTables(db: BetterSqlite3Database): boolean;
/**
 * Get CFG blocks for a function node.
 */
export declare function getCfgBlocks(db: BetterSqlite3Database, functionNodeId: number): CfgBlockRow[];
/**
 * Get CFG edges for a function node (with block info).
 */
export declare function getCfgEdges(db: BetterSqlite3Database, functionNodeId: number): CfgEdgeRow[];
/**
 * Delete all CFG data for a function node.
 */
export declare function deleteCfgForNode(db: BetterSqlite3Database, functionNodeId: number): void;
export {};
//# sourceMappingURL=cfg.d.ts.map