/**
 * Internal event models for in-flight state tracking between start/end callbacks.
 */
export const EventType = {
    AGENT: "agent",
    CHAIN: "chain",
    LLM: "llm",
    RETRIEVAL: "retrieval",
    TOOL: "tool",
};
export function createInFlightEvent(params) {
    return {
        name: "",
        parentRunId: null,
        traceId: null,
        startTimeNs: "",
        endTimeNs: null,
        serialized: {},
        metadata: null,
        tags: null,
        messages: null,
        prompts: null,
        modelName: null,
        modelParameters: null,
        tokenUsage: null,
        responseChoices: null,
        streamingTokens: null,
        inputs: null,
        outputs: null,
        toolInput: null,
        toolOutput: null,
        query: null,
        documents: null,
        agentActions: null,
        agentFinish: null,
        error: null,
        ...params,
    };
}
//# sourceMappingURL=models.mjs.map