import * as wasm from '../wasm.js'; import type { EvoSDK } from '../sdk.js'; export declare class StateTransitionsFacade { private sdk; constructor(sdk: EvoSDK); broadcastStateTransition(stateTransition: wasm.StateTransition, settings?: wasm.PutSettings): Promise; /** * Verifies that this specific transition executed. An authenticated * affected-state snapshot is rejected with `ExecutionNotProved`; use * `waitForAffectedState` when a snapshot is the intended result. */ waitForResponse(stateTransition: wasm.StateTransition, settings?: wasm.PutSettings): Promise; /** * Broadcasts, then strictly verifies execution of this transition. * `ExecutionNotProved` means the accepted broadcast was followed by an * authenticated snapshot, which establishes neither execution nor failure * of this transition. To wait for an authenticated snapshot, call * `waitForAffectedState` on the submitted transition without broadcasting * it again; the new wait may observe a later block. */ broadcastAndWait(stateTransition: wasm.StateTransition, settings?: wasm.PutSettings): Promise; /** * Like `waitForResponse`, but accepts proofs that only authenticate the * state the transition affects (balance top-ups, credit transfers and * withdrawals, address funds movements, shields, no-history token * operations, key limits updates, contract updates, contract moderation * and fee claims, and creates and deletes of indexOnly documents). * Execution-proved outcomes are accepted too. A snapshot authenticates * state at the proof's block; it does not prove this transition executed. * This generic JavaScript result does not expose the proof height. */ waitForAffectedState(stateTransition: wasm.StateTransition, settings?: wasm.PutSettings): Promise; /** * Like `broadcastAndWait`, but accepts affected-state snapshot outcomes * (see `waitForAffectedState`). */ broadcastAndWaitForAffectedState(stateTransition: wasm.StateTransition, settings?: wasm.PutSettings): Promise; /** * Looks up a transition's status by hash. This method does not authenticate * a returned proof; use a full-transition wait for verified results. */ waitForStateTransitionResult(stateTransitionHash: string): Promise; }