import type { Ref } from 'react';
import type { ForwardRefForwardPropsComponent } from '../../types';
import type { FieldGroupProps } from './FieldGroup';
export type FieldGroupListItemProps = FieldGroupProps & {
    /** The ID of the field group list item */
    id: string;
    /** Item level onDelete callback. */
    onDelete?: (id: string) => void;
    /** Indicates if the item is dynamic. */
    isDynamic?: boolean;
};
export interface FieldGroupListProps {
    items: FieldGroupListItemProps[];
    contextualLabel?: string;
    label?: string;
    additionalContext?: string | JSX.Element;
    onAdd?: () => void;
    onDelete?: (id: string) => void;
    ref?: Ref<HTMLOListElement>;
}
export interface ListItemProps {
    item: FieldGroupListItemProps;
    index: number;
    isAddFocused: boolean;
    handleDelete: FieldGroupListProps['onDelete'];
    fieldGroupRef: (el: HTMLFieldSetElement | null) => void;
}
export declare const StyledListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
    depth: number;
    listGroupIndex: number;
    shouldHighlight: boolean;
}, never>;
declare const FieldGroupList: ForwardRefForwardPropsComponent<FieldGroupListProps>;
export default FieldGroupList;
//# sourceMappingURL=FieldGroupList.d.ts.map