// Type declarations for jso-symbolicate/bugsnag

/**
 * Build a Bugsnag onError callback that demangles mangled identifiers
 * throughout the event in-place. Always returns true so Bugsnag continues
 * sending the report.
 */
export function createBugsnagOnError<TEvent = any>(
    lookup: Record<string, string>
): (event: TEvent) => boolean;
