import type { MetricsFailurePayload } from "./types"; /** * The payload for a reason that has no failure text of its own to relay. * * Carries only the fields the platform can fill, which today means the * previous process's exit reason. Returns undefined when even that is * unavailable — a payload with nothing in it is omitted rather than sent as * an empty object. */ export declare function commonFailurePayload(): MetricsFailurePayload | undefined; /** * Builds the download-failure payload from a rejected native call. * * `error` is whatever the NativeModule promise rejected with, so every field * read from it is defensive: a rejection that carries no status still yields a * well-formed payload. */ export declare function networkFailurePayload(error: unknown): MetricsFailurePayload; //# sourceMappingURL=failurePayload.d.ts.map