import BridgedEventTimestamp from '../../BridgedEventTimestamp'; import OngoingOperationsRegistry from '../OngoingOperationsRegistry'; export interface StateProps { destinationScreen: string; componentInstanceId: string; previousState: State | undefined; snapshotId: Promise; operationsSnapshot: OngoingOperationsRegistry; ongoingOperations?: OngoingOperationsRegistry; timestamp: BridgedEventTimestamp; } declare abstract class State { readonly destinationScreen: string; readonly componentInstanceId: string; readonly previousState: State | undefined; readonly snapshotId: Promise; readonly operationsSnapshot: OngoingOperationsRegistry; readonly timestamp: BridgedEventTimestamp; private _ongoingOperations; constructor({ destinationScreen, componentInstanceId, previousState, snapshotId, operationsSnapshot, ongoingOperations, timestamp, }: StateProps); toString(): string; get ongoingOperations(): OngoingOperationsRegistry; onOperationStarted(operationName: string, abortController?: AbortController): State; onOperationCompleted(operationName: string, cancelled?: boolean): State; onAllOngoingOperationsCancelled(): State; abstract getStateName(): string; protected toSimpleJson(): any; private updateOngoingOperations; protected abstract cloneAsChild(): State; } export default State; //# sourceMappingURL=State.d.ts.map