import type { ActivityStatus, ActivityStep, BlockCarrier, MessageActivity } from './message-blocks'; export declare const STEP_ID: { readonly NODE_PREFIX: "node:"; readonly TOOL_PREFIX: "tool:"; readonly AGENT_PREFIX: "agent:"; readonly NEXT_AGENT: "agent:next"; readonly PENDING: "pending"; readonly OCCURRENCE_SEPARATOR: "#"; }; export declare const NODE_STEP_STATUS: Record; export type FlowNodeEvent = { nodeId?: string; nodeLabel?: string; status?: string; }; export declare function upsertNodeActivityStep(message: T, node: FlowNodeEvent | null | undefined): T; export declare function countNodeOccurrences(steps: ActivityStep[] | undefined): Map; export declare function resolveMessageActivity(message: (BlockCarrier & { agentReasoning?: unknown; }) | null | undefined): MessageActivity | undefined; export declare const hasMessageActivity: (message: (BlockCarrier & { agentReasoning?: unknown; }) | null | undefined) => boolean;