import { Actions } from './actions.ts'; import { State } from './state.ts'; import { TreeItemValues, TreeSelectItems } from '../types'; export interface ReducerAction { type: Actions; id: string; value: TreeItemValues; initState?: State; optionalHideSelectedChildCount?: boolean; } export declare const reducer: (state: State, data: ReducerAction | ReducerAction[]) => { tree: TreeSelectItems[]; selectedIds: string[]; lastAction: Actions | null; isInit: boolean; isSearchMode?: boolean | undefined; };