import type { ProcessingOperatorId, SpectrumProcessingOperation } from '@zakodium/nmr-types'; import type { ProcessingOperatorUI, Spectrum } from '@zakodium/nmrium-core'; import type { Draft } from 'immer'; import type { State } from '../Reducer.ts'; import type { ActionType } from '../types/ActionType.ts'; type SetSpectrumAction = ActionType<'SET_SPECTRUM', { index: number; spectrum: Spectrum; onProduce: (draft: Draft) => void; }>; type SetSpectrumLiveProcessed = ActionType<'SET_SPECTRUM_LIVE_PROCESSED', { spectrumLiveProcessed: Spectrum | undefined; shouldUpdateView: boolean; }>; type SelectProcessingOperator = ActionType<'SELECT_PROCESSING_OPERATOR', { operatorUI: ProcessingOperatorUI | undefined; }>; type SetLiveEditChecked = ActionType<'SET_LIVE_EDIT_CHECKED', boolean>; type SetLiveEditShouldProcessNext = ActionType<'SET_LIVE_EDIT_SHOULD_PROCESS_NEXT', boolean>; type SetLiveOperation = ActionType<'SET_LIVE_OPERATION', { liveOperation: SpectrumProcessingOperation | undefined; }>; export type ProcessingsActions = SetSpectrumAction | SetSpectrumLiveProcessed | SelectProcessingOperator | SetLiveEditChecked | SetLiveEditShouldProcessNext | SetLiveOperation; export declare function setSpectrum(draft: Draft, action: SetSpectrumAction): void; export declare function setSpectrumLiveProcessed(draft: Draft, action: SetSpectrumLiveProcessed): void; export declare function selectProcessingOperator(draft: Draft, { payload }: SelectProcessingOperator): void; export declare function setLiveEditChecked(draft: Draft, { payload }: SetLiveEditChecked): void; export declare function setLiveEditShouldProcessNext(draft: Draft, { payload }: SetLiveEditShouldProcessNext): void; export declare function setLiveOperation(draft: Draft, { payload: { liveOperation } }: SetLiveOperation): void; export {}; //# sourceMappingURL=processings_actions.d.ts.map