import type { Profile } from '../interfaces/profile.interface.js'; import type { RawSpan } from '../trace/build-trace.js'; import type { TraceSpanDelegate } from '../trace/trace-span.delegate.js'; export declare function deferCollectionToFinishHook(profile: Profile): void; export declare function isCollectionDeferred(profile: Profile): boolean; export declare function markExceptionRecorded(profile: Profile): void; export declare function isExceptionRecorded(profile: Profile): boolean; export declare function setTransportResponseBody(profile: Profile, read: () => unknown): void; export declare function readTransportResponseBody(profile: Profile): unknown; export declare function nextSpanId(profile: Profile): string; export declare function appendManualSpan(profile: Profile, span: RawSpan): void; export declare function manualSpansOf(profile: Profile): RawSpan[]; export declare function trackOpenSpan(profile: Profile, span: TraceSpanDelegate): void; export declare function getOpenSpan(profile: Profile, id: string): TraceSpanDelegate | undefined; export declare function releaseOpenSpan(profile: Profile, id: string): void;