FrontPastel/node_modules/@mui/base/useSelect/selectReducer.d.ts

5 lines
445 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import { ListAction, ListActionContext } from '../useList';
import { ActionWithContext } from '../utils/useControllableReducer.types';
import { SelectAction, SelectInternalState } from './useSelect.types';
export declare function selectReducer<OptionValue>(state: SelectInternalState<OptionValue>, action: ActionWithContext<ListAction<OptionValue> | SelectAction<OptionValue>, ListActionContext<OptionValue>>): SelectInternalState<OptionValue>;