import * as React from "react"; import { FieldListProps } from "./FieldList"; interface FieldListProviderProps extends Omit { setData: React.Dispatch>>>; } type FieldListContext = { addListItem: (rowId?: string | number, itemToAdd?: Record) => void; removeListItem: (rowIndex: number) => void; }; export declare const Context: React.Context; export declare const FieldListProvider: ({ onAddItem, children, data, pathToUniqueKey, onRemoveItem, setData }: FieldListProviderProps) => React.JSX.Element; export {};