// Type declarations for jso-symbolicate/appsignal

/**
 * Build an AppSignal decorator that demangles action, error.name,
 * error.message, error.backtrace, and string tag values in place.
 * Returns the (mutated) span.
 */
export function createAppSignalDecorator<TSpan = any>(
    lookup: Record<string, string>
): (span: TSpan) => TSpan;
