import React from 'react'; import { Marrow, ElementType } from '../../types/global'; import { MarrowController } from '../../render/src'; export declare type OperationType = '' | 'move' | 'add'; export declare type BuildContext = { data: Marrow[]; selectedId?: string; currentLocationIds: string[]; showStore: boolean; operationType: OperationType; willAddElementType?: ElementType; willMoveId?: string; editingId?: string; marrowController: MarrowController | null; setSelectedId?: (id: string) => void; setData?: (data: Marrow[]) => void; setShowStore?: (visible: boolean) => void; setOperationType?: (value: OperationType) => void; setWillAddElementType?: (value?: ElementType) => void; setWillMoveId?: (value?: string) => void; setEditingId?: (value?: string) => void; }; export declare const useBuildMarrow: () => BuildContext; export declare const BuildMarrowProvider: React.Provider;