import { Data } from '../../../types';
export declare const useDataHandler: <T extends Data>(initialValue: T[], positionPropertyName: keyof T | undefined, maxItemLimit: number | undefined, allowNewData: boolean, onChange: (value: T[]) => void, onAddTransformData?: (data: Partial<T>) => T) => {
    readonly items: T[];
    readonly nextPosition: number;
    readonly canAddItems: boolean;
    readonly addItem: (item: T) => void;
    readonly removeItem: (item: T) => void;
    readonly updateItem: (currentItem: T, newItem: T) => void;
};
//# sourceMappingURL=useDataHandler.d.ts.map