import type { FlowExecutionState, FlowSettlementState } from './flow.types';
type FlowSettlementStateChangedEvent = {
    newState: FlowSettlementState;
    previousState: FlowSettlementState;
    timestamp: string;
    transactionId: string;
};
type FlowExecutionStateChangedEvent = {
    newState: FlowExecutionState;
    previousState: FlowExecutionState;
    timestamp: string;
    transactionId: string;
};
declare global {
    interface DynamicEvents {
        /**
         * Raised when a flow's execution state changes.
         */
        flowExecutionStateChanged: (args: FlowExecutionStateChangedEvent) => void;
        /**
         * Raised when a flow's settlement state changes.
         */
        flowSettlementStateChanged: (args: FlowSettlementStateChangedEvent) => void;
    }
}
export type { FlowExecutionStateChangedEvent, FlowSettlementStateChangedEvent };
//# sourceMappingURL=events.d.ts.map