import type { AdaptedJob } from "./queue-adapters/base.adapter"; /** * What a failure looks like once the parts that vary between jobs are masked: * three thousand "Order 4812 not found" failures are one problem, not three * thousand. The fingerprint names the group in URLs and filters. */ export type FailureSignature = { fingerprint: string; type: string | null; message: string; frame: string | null; }; export declare const maskFailureMessage: (text: string) => string; /** * The signature of a job's latest failure, read from the job as the viewer is * allowed to see it: redaction and hidden stack traces apply first, so two * viewers with different privacy settings may group differently, but never * by text they could not see. */ export declare const getFailureSignature: (job: AdaptedJob) => FailureSignature | null; //# sourceMappingURL=failures.d.ts.map