import { HTMLAttributes, ReactNode } from 'react';
export interface CollapsibleProps extends Omit, 'title' | 'children' | 'onToggle'> {
title: ReactNode;
children: ReactNode;
/** Controlled open state. Omit to let the component manage it. */
open?: boolean;
defaultOpen?: boolean;
onToggle?: (open: boolean) => void;
id?: string;
/** Figma's divided variant: a rule under the title while open. */
divided?: boolean;
/** Test-automation hook on the title button. */
dataCy?: string;
/** `card` (default) has a border, background, radius and shadow; `flush` has none, to sit inside another surface. */
variant?: 'card' | 'flush';
}
/**
* One collapsible card: title row with a chevron, body that animates open. Extra props go to the root element.
*
* CSS custom properties (set on the root or any ancestor):
* - `--collapsible-header-padding` (default `20px`)
* - `--collapsible-body-padding` (default `0 20px 20px`, `24px 20px 20px` when `divided`)
*/
export declare const Collapsible: import('react').ForwardRefExoticComponent>;