import { ObservationState, ReducerMessage } from '@cratis/chronicle.contracts'; /** Sentinel sequence number sent back when no event was successfully processed. */ export declare const SEQUENCE_NUMBER_UNAVAILABLE = 4294967295n; /** * Accumulates the result of reducing one reduce operation: the state, the failure details and the * last event that was successfully reduced. */ export declare class ReductionOutcome { state: ObservationState; lastSuccessfullyObservedEvent: bigint; readonly exceptionMessages: string[]; exceptionStackTrace: string; currentState: unknown; /** Gets whether the reduction has failed. */ get failed(): boolean; /** Records a failure of the reduction. */ recordFailure(error: unknown): void; /** Records a failure to notify of a replay lifecycle transition. */ recordReplayNotificationFailure(error: unknown): void; /** Records a failure to activate the reducer or to complete its activation. */ recordActivationFailure(error: unknown): void; /** Creates the result message reported back to the kernel. */ toMessage(partition: string): ReducerMessage; } //# sourceMappingURL=ReductionOutcome.d.ts.map