import { Agent, DAGNode, FrameworkParser, LinearStep, Model, Span, Tool } from "../types";
/**
 * LangGraph Parser
 */
export declare class LangGraphParser implements FrameworkParser {
    name: string;
    private deduplicator;
    constructor();
    canParse(spans: Span[]): boolean;
    getTools(spans: Span[]): Tool[];
    getAgents(spans: Span[]): Agent[];
    getModels(spans: Span[]): Model[];
    generateDag(spans: Span[]): DAGNode[];
    generateLinearFlow(spans: Span[]): LinearStep[];
    private findLangGraphRoot;
    private safeParseJson;
    private extractSerializedMessagesFromRawOutput;
    private parseSerializedMessage;
    private looksLikeToolMessage;
    private tokenizeName;
    private overlapScore;
    private bestAttachSpanForTool;
    private inferRoleFromAgentName;
    private isInfrastructureWorkflow;
    private isToolSpan;
    private isAgentSpan;
    private isModelSpan;
    private extractModelLikeLangChain;
    private getNodeType;
}
//# sourceMappingURL=langgraph.d.ts.map