import { ReferenceTriple } from "./utils/reference_analyzer"; export interface CallChainOptions { from?: string[]; to?: string[]; maxDepth?: number; format?: "text" | "dot" | "mermaid" | "json-graph"; includeExternal?: boolean; showCycles?: boolean; minCalls?: number; filter?: string; exclude?: string; } export interface CallChainNode { id: string; name: string; file: string; line: number; column: number; calls: number; depth: number; isExternal: boolean; } export interface CallChainEdge { from: string; to: string; calls: number; locations: string[]; } export interface CallChainResult { nodes: CallChainNode[]; edges: CallChainEdge[]; cycles: string[][]; statistics: { totalNodes: number; totalEdges: number; maxDepth: number; cyclesCount: number; externalCalls: number; }; } export declare function generateCallChain(references: ReferenceTriple[], options?: CallChainOptions): Promise; export declare function displayCallChain(result: CallChainResult, format?: string): void; export declare function writeCallChainToFile(result: CallChainResult, filePath: string, format: string): Promise;