import { ConnectorError } from '../types/error.types.js'; /** * The error a Novu-style multi-target `sendMessage()` throws when every target * failed. When all per-target errors agree on a `ProviderCode` (e.g. a single * device token answering `429 TooManyProviderTokenUpdates` → `auth_failed`) * that code and status are kept, so a caller's retry policy sees the real * cause instead of a synthetic 500; otherwise the code is `unknown`. The * per-target errors ride on `cause.errors`. */ export declare function allTargetsFailedError(provider: string, reasons: unknown[], messages: string[]): ConnectorError;