import * as React from "react"; export interface FieldListProps { /** The data to populate the field values with */ data: Array>; /** An array of the indexes of disabled rows */ disabledRows?: number[]; /** The callback for when the remove button is clicked */ onRemoveItem?: (affectedRowIndex: number) => () => void; /** The callback for when a row is added */ onAddItem?: (addedRow: Record) => void; /** * The path to an object property who's value will be unique. * Typically, this will be some kind of ID. The value of this property * is used to set the key for each row in the field list. * * This key's value cannot be the field value because it will cause * problems when the field value is changed */ pathToUniqueKey?: string; children?: React.ReactNode; /** * Allows custom styling */ className?: string; } declare const _default: ({ children, className, data, disabledRows, onAddItem, onRemoveItem, pathToUniqueKey }: FieldListProps) => React.JSX.Element; export default _default;