import type { EventCallback } from "../types"; /** Why an event was not sent, one sentence per callback code. */ export declare const DROP_REASONS: { readonly suppressed: "tracking is off for this visitor, environment, or chain"; readonly duplicate: "an identical event was already accepted"; readonly consent_withdrawn: "consent was withdrawn before delivery"; readonly closed: "the SDK was cleaned up before delivery"; readonly blocked: "the address is blocked"; readonly invalid_key: "the idempotency_key must be a non-empty string or a safe integer"; readonly invalid: "the call carried a missing or invalid address or chain"; }; export type DropCode = keyof typeof DROP_REASONS; /** The error handed to the callback of a dropped event. */ export declare function dropError(code: DropCode): Error & { code: DropCode; }; /** Answer a callback for a dropped event; silence would read as success. */ export declare function answerDropped(callback: EventCallback | undefined, message: unknown, code: DropCode): void; //# sourceMappingURL=dropped.d.ts.map