import { WidgetContext } from '../../editor/widget-framework/widget-context'; export declare abstract class Tracer { static startTrace(key: string, fn: (span: any | undefined) => F): F; static startSpan(key: string, createContext?: boolean, currentContext?: any): { span: any | undefined; ctx?: any; }; static traceWidget(widgetContext: WidgetContext, createContext?: boolean): { span: any | undefined; ctx?: any; }; static endSpan(span?: any): null; static withContext(fn: () => T, ctx?: any): T; static logEvent(name: string, attributes?: any, span?: any): void; }