import type { EntityAccessor, EntityListAccessor } from '@contember/binding';
import { ReactNode } from 'react';
import type { MessageFormatter } from '../../../../i18n';
import { AddEntityButtonProps, EmptyMessageOuterProps } from '../helpers';
import type { RepeaterDictionary } from './repeaterDictionary';
export declare type RepeaterFieldContainerPublicProps = EmptyMessageOuterProps & AddEntityButtonProps & {
    enableAddingNew?: boolean;
};
export interface RepeaterFieldContainerPrivateProps {
    accessor: EntityListAccessor;
    entities: EntityAccessor[];
    formatMessage: MessageFormatter<RepeaterDictionary>;
    isEmpty: boolean;
    /**
     * @deprecated Use label instead
     */
    boxLabel?: ReactNode;
    label: ReactNode;
    createNewEntity: (initialize?: EntityAccessor.BatchUpdatesHandler) => void;
    children: ReactNode;
}
export declare type RepeaterFieldContainerProps = RepeaterFieldContainerPublicProps & RepeaterFieldContainerPrivateProps;
export declare const RepeaterFieldContainer: import("react").MemoExoticComponent<({ accessor, addButtonText, children, createNewEntity, addButtonComponent: AddButton, addButtonComponentExtraProps, addButtonProps, emptyMessage, emptyMessageComponent, enableAddingNew, formatMessage, isEmpty, label, }: RepeaterFieldContainerProps) => JSX.Element>;
//# sourceMappingURL=RepeaterFieldContainer.d.ts.map