import { HTMLAttributes, ReactChild } from 'react';
import { DataAttributes } from '../../../types';
import { variants } from '../../Status/Primitive/StatusPrimitive';
import { PanelHeaderAction } from './types';
type CollapsiblePanelCommonPropsType = {
children: ReactChild;
managed?: boolean;
expanded?: boolean;
index?: number;
action?: PanelHeaderAction | PanelHeaderAction[];
size?: 'S' | 'M';
metadata?: ReactChild[];
isFirst?: boolean;
isLast?: boolean;
disabled?: boolean;
onToggleExpanded?: (index: number) => void;
} & Omit, 'className' | 'style'> & DataAttributes;
type CollapsiblePanelWithTitlePropsType = {
title: ReactChild;
status?: never;
};
type CollapsiblePanelWithStatusPropsType = {
title?: never;
status: keyof typeof variants;
};
export type CollapsiblePanelProps = CollapsiblePanelCommonPropsType & (CollapsiblePanelWithTitlePropsType | CollapsiblePanelWithStatusPropsType);
export declare const CollapsiblePanel: import("react").ForwardRefExoticComponent>;
export {};