/** * A React context that provides access to a TableFormIterator item meta (its index and the total number of items) and mutators (reorder and remove this remove). * Useful to create custom array input iterators. * @see {TableFormIterator} * @see {ArrayInput} */ declare const TableFormIteratorItemContext: import('react').Context; type TableFormIteratorItemContextValue = { index: number; total: number; item: any; remove: () => void; reOrder: (newIndex: number) => void; }; /** * A hook that provides access to a TableFormIterator item meta (its index and the total number of items) and mutators (reorder and remove this remove). * Useful to create custom array input iterators. * @see {TableFormIterator} * @see {ArrayInput} */ declare function useTableFormIteratorItem(): TableFormIteratorItemContextValue; export { TableFormIteratorItemContext, useTableFormIteratorItem }; export type { TableFormIteratorItemContextValue }; //# sourceMappingURL=TableFormIteratorItemContext.d.ts.map