import type { FiatStepResponse } from '@fun-xyz/fiat-contract/types'; /** * What a transition landed on, in fields safe to log. * * - The state reached, what it left to press, and any refusal — never the * envelope, and never a transition's params. */ export declare function describeStep(stepResponse: FiatStepResponse): Record; /** * `GET /fiat/orders/o_31c` becomes `GET /fiat/orders/:id`. * * - Bodies are redacted wholesale here, so a ref reaching a log line through * the path is the same value arriving by another door. */ export declare function endpointShape(endpoint: string): string; /** * A step that should have offered a way on and did not. * * - The table says which states may legally carry none — `BLOCKED` and a * rejection are endings, `ON_HOLD` and `FUN_AUTH` simply have no button. * Asking it beats a hand-kept list that silently rots as states are added. * - So this is the server contradicting its own contract, which is why it is * worth a warning rather than a note. */ export declare function isDeadEnd(stepResponse: FiatStepResponse): boolean; //# sourceMappingURL=describeStep.d.ts.map