// Type declarations for jso-symbolicate/datadog

/**
 * Build a Datadog Browser SDK `beforeSend` callback. Wire into
 * `datadogRum.init({ beforeSend })` or `datadogLogs.init({ beforeSend })`.
 * Always returns true so Datadog ships the (demangled) event.
 */
export function createDatadogBeforeSend<TEvent = any, TContext = any>(
    lookup: Record<string, string>
): (event: TEvent, context?: TContext) => boolean;
