import { NotificationPayloads, Notifications } from "./Notifications";
import { TOperationResult } from "./OperationResults";
export declare type ProcessResult<T extends Notifications = Notifications> = {
    name: T;
    payload: NotificationPayloads[T] | (() => NotificationPayloads[T]);
};
/**
 * Updates the session state using the supplied results
 *
 * @export
 * @interface OperationResultHandler
 */
export interface OperationResultHandler {
    /**
     * Update the session state using the results
     *
     * @param {TOperationResult[]} results
     */
    processOperationResults(results: TOperationResult[]): void;
}
