import type { MatrixOptions } from '@zakodium/nmr-types'; import type { MatrixGenerationOptions } from '@zakodium/nmrium-core'; import type { Draft } from 'immer'; import type { ZoomOptions } from '../../../EventsTrackers/BrushTracker.js'; import type { FilterType } from '../../../utility/filterType.js'; import type { ActionType } from '../../types/ActionType.js'; import type { PreferencesState } from '../preferencesReducer.js'; type setMatrixGenerationOptionsAction = ActionType<'SET_MATRIX_GENERATION_OPTIONS', { nucleus: string; options: MatrixOptions; }>; type addMatrixGenerationExclusionZoneAction = ActionType<'ADD_MATRIX_GENERATION_EXCLUSION_ZONE', { zone: { from: number; to: number; }; nucleus: string; }>; type deleteMatrixGenerationExclusionZoneAction = ActionType<'DELETE_MATRIX_GENERATION_EXCLUSION_ZONE', { zone: { id: string; from: number; to: number; }; nucleus: string; }>; type ToggleMatrixGenerationViewAction = ActionType<'TOGGLE_MATRIX_GENERATION_VIEW_PROPERTY', { key: keyof FilterType; nucleus: string; }>; type ChangeMatrixGenerationScaleAction = ActionType<'CHANGE_MATRIX_GENERATION_SCALE', { zoomOptions: ZoomOptions; nucleus: string; }>; type ChangeMatrixGenerationStocsyChemicalShiftAction = ActionType<'CHANGE_MATRIX_GENERATION_STOCSY_CHEMICAL_SHIFT', { nucleus: string; chemicalShift: number; }>; export type MatrixGenerationActions = ToggleMatrixGenerationViewAction | deleteMatrixGenerationExclusionZoneAction | addMatrixGenerationExclusionZoneAction | setMatrixGenerationOptionsAction | ChangeMatrixGenerationScaleAction | ChangeMatrixGenerationStocsyChemicalShiftAction; declare function addExclusionZone(draft: Draft, action: addMatrixGenerationExclusionZoneAction): void; declare function deleteExclusionZone(draft: Draft, action: any): void; declare function setMatrixGenerationOptions(draft: Draft, action: any): void; declare function toggleMatrixGenerationViewProperty(draft: Draft, action: ToggleMatrixGenerationViewAction): void; declare function changeMatrixGenerationScale(draft: Draft, action: ChangeMatrixGenerationScaleAction): void; declare function changeMatrixGenerationStocsyChemicalShift(draft: Draft, action: ChangeMatrixGenerationStocsyChemicalShiftAction): void; export { addExclusionZone, changeMatrixGenerationScale, changeMatrixGenerationStocsyChemicalShift, deleteExclusionZone, setMatrixGenerationOptions, toggleMatrixGenerationViewProperty, }; //# sourceMappingURL=matrixGeneration.d.ts.map