import type { RawSpan } from './build-trace.js'; import type { TaggableEntry } from '../analysis/taggable-collector.interface.js'; import type { TraceSpanKind } from '../interfaces/profile.interface.js'; export interface EntrySpanOptions { kind: TraceSpanKind; collector: string; tab?: string; label: (entry: TEntry) => string; meta?: (entry: TEntry) => Record | undefined; isError?: (entry: TEntry) => boolean; id?: (entry: TEntry) => string | undefined; } export declare function entriesToSpans(entries: readonly TEntry[] | undefined, options: EntrySpanOptions): RawSpan[];