import { ReactNode } from 'react';
export interface DrawerArrayProps<T> {
    values: T[];
    initialProperty: T;
    onChange: (values: T[]) => void;
    label?: string;
    form: (props: {
        value: T;
        onChange: (value: T) => void;
    }) => ReactNode;
    view?: (value: T) => ReactNode;
    drawerContentClassName?: string;
    hideFooter?: boolean;
    /**
     * Validate new item before creation
     * @param value - new item value
     * @returns string | null - error message or null if valid
     */
    validateNewItem?: (value: T) => string | null;
}
export declare const DrawerArray: <T extends object>({ values, onChange, initialProperty, form, label, view, drawerContentClassName, validateNewItem, hideFooter, }: DrawerArrayProps<T>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=DrawerArray.d.ts.map