// Type declarations for jso-symbolicate/raygun

/**
 * Build a Raygun `onBeforeSend` callback that demangles class names, messages,
 * and stack-trace frames in-place. Returns the (possibly modified) payload.
 */
export function createRaygunBeforeSend<TPayload = any>(
    lookup: Record<string, string>
): (payload: TPayload) => TPayload;
