/** * The one outcome of an in-place update that a caller must not treat as a plain failure. * * `rebuildComponents` does all of its fallible work before tearing anything down, and keeps a * rollback to the previous recipe as a backstop. Almost every failure therefore ends with the * runtime healthy on its old configuration — a failed update, nothing more. * * This error means the backstop ALSO failed: the new recipe would not build, and neither would the * one that was running a moment ago. The wallet still holds whatever positions it held, and nothing * is watching them — no scanners, no exit engine, no stop being maintained. It is the single state * the update verb exists to avoid, and it needs a human, so it is a distinct type rather than a * message a caller has to pattern-match. */ export declare class RuntimeRebuildRollbackFailedError extends Error { readonly code = "E_UPDATE_ROLLBACK_FAILED"; /** Wallet whose book is now unmanaged. Named so an operator can act without reading a log. */ readonly address: string; /** Why the new recipe failed to build. */ readonly rebuildError: unknown; /** Why the previous recipe could not be restored. */ readonly rollbackError: unknown; constructor(address: string, rebuildError: unknown, rollbackError: unknown); } /** True when a thrown value is the unmanaged-book outcome above. */ export declare function isRollbackFailure(err: unknown): err is RuntimeRebuildRollbackFailedError; //# sourceMappingURL=rebuild-errors.d.ts.map