import type { Draft } from 'immer'; import type { State, VerticalAlignment } from '../Reducer.js'; import type { ActionType } from '../types/ActionType.js'; type KeyPreferencesAction = ActionType<'SET_KEY_PREFERENCES' | 'APPLY_KEY_PREFERENCES', { keyCode: string; }>; export type PreferencesActions = KeyPreferencesAction; interface AlignmentOptions { verticalAlign?: VerticalAlignment | 'auto-check'; activeTab?: string; } declare function changeSpectrumVerticalAlignment(draft: Draft, options: AlignmentOptions): void; declare function handleSetKeyPreferences(draft: Draft, action: KeyPreferencesAction): void; declare function handleApplyKeyPreferences(draft: Draft, action: KeyPreferencesAction): void; export { changeSpectrumVerticalAlignment, handleApplyKeyPreferences, handleSetKeyPreferences, }; //# sourceMappingURL=PreferencesActions.d.ts.map