// Type declarations for jso-symbolicate/event

export type SupportedEventReporter =
  | "sentry"
  | "bugsnag"
  | "rollbar"
  | "datadog"
  | "honeybadger"
  | "raygun"
  | "airbrake"
  | "appsignal";

export const SUPPORTED_EVENT_REPORTERS: SupportedEventReporter[];

export interface SymbolicateEventOptions {
  preserveOriginal?: boolean;
}

export function normalizeReporterName(name: string): string;

export function symbolicateEvent<T extends Record<string, any>>(
  reporter: SupportedEventReporter | string,
  event: T,
  lookup: Record<string, string>,
  options?: SymbolicateEventOptions
): T;
