import { GraphEdge } from './graph.js';
import { CausalTrajectoryRecord } from './causal-trajectory.js';
import './objective-state.js';

type CausalTrajectoryGraphStage = "goal" | "action" | "observation" | "outcome" | "follow_up";
declare function causalTrajectoryGraphNodeId(trajectoryId: string, stage: CausalTrajectoryGraphStage): string;
declare function buildCausalTrajectoryGraphEdges(record: CausalTrajectoryRecord): GraphEdge[];
declare function appendCausalTrajectoryGraphEdges(options: {
    memoryDir: string;
    record: CausalTrajectoryRecord;
}): Promise<void>;

export { type CausalTrajectoryGraphStage, appendCausalTrajectoryGraphEdges, buildCausalTrajectoryGraphEdges, causalTrajectoryGraphNodeId };
