// Type declarations for jso-symbolicate/rollbar

/**
 * Build a Rollbar payload transform function. Pass to `new Rollbar({ transform })`
 * or `rollbar.addTransform()`. The transform always invokes the supplied callback
 * with `null` so Rollbar continues processing the (demangled) payload.
 */
export function createRollbarTransform<TPayload = any, TItem = any>(
    lookup: Record<string, string>
): (payload: TPayload, item: TItem, callback: (err: Error | null) => void) => void;
