import type { ClassifierInput } from '../types/classifierInput'; /** * Tell apart the two transport failures the outcome contract names, from any * call the journey makes itself (FDEL-53728 Q2). * * `session_expired` and `network` were in the contract, and `resultScreen.ts` * had copy for both, but nothing produced them: a submit failure collapsed into * `submit_failed` and every other call into `error / internal`. So a host could * not tell an expired session (re-authenticate) from a dropped connection * (worth retrying) from a genuine fault — and the *same* 401 was reported two * different ways depending on which call happened to hit it. * * Both are readable off the error. `FrankieApiClient`'s response interceptor * rethrows a plain object — NOT an `Error`, and NOT a `OneSDKError` — shaped * `{ message, response: { status, data } }` (`FrankieApiClient.ts:43-53`). A * 401 is the expired session. An axios error that never received a response * leaves `status` undefined, which is the network. * * Returns `undefined` for anything else, so an unfamiliar failure keeps its * caller's own fallback and stays diagnosable rather than being reported to the * host as connectivity. */ export declare const transportErrorSignal: (error: unknown) => Extract | undefined; //# sourceMappingURL=transportError.d.ts.map