import type { NodeType } from './node'; /** * The sentinel type string used to identify GalileoCustomSpan instances. */ export declare const GALILEO_CUSTOM_TYPE = "galileo_custom"; /** * Maps an OpenAI Agents SDK SpanData type string to a Galileo node type. * @param spanData - The span data object with a type discriminant. * @returns The corresponding Galileo node type or 'galileo_custom'. */ export declare function mapSpanType(spanData: { type: string; [key: string]: unknown; }): NodeType | typeof GALILEO_CUSTOM_TYPE; /** * Derives a display name for a span. * @param spanData - The span data object. * @param spanType - The resolved node type. * @returns A human-readable display name for the span. */ export declare function mapSpanName(spanData: { type: string; name?: string; [key: string]: unknown; }, spanType: NodeType | typeof GALILEO_CUSTOM_TYPE): string;