import { UndoReducerInterface } from '../interface'; export interface EditAction { task: 'edit'; id: string; value: T; } export interface AddAction { task: 'add'; value: T[]; } export interface DeleteAction { task: 'delete'; value: string[]; } interface CoreComponent { id: string; } declare type EXPORT_ACTION = EditAction | AddAction | DeleteAction; export declare type ItemAction = EXPORT_ACTION & { act: L; }; export declare function useItems(x: Record, type: L): UndoReducerInterface, ItemAction>; export {}; //# sourceMappingURL=itemTemplate.d.ts.map