// Type declarations for jso-symbolicate/airbrake

/**
 * Build an Airbrake notice filter that demangles error type/message and
 * every backtrace frame in place. Returns the (modified) notice; never
 * returns null/false so symbolication errors cannot drop the report.
 */
export function createAirbrakeFilter<TNotice = any>(
    lookup: Record<string, string>
): (notice: TNotice) => TNotice;
