import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
export interface CollapseProps extends HTMLAttributes {
ref?: Ref;
/** Whether the content is expanded. */
open: boolean;
children?: ReactNode;
/**
* Mark the collapsed content `inert` so hidden focusable elements are removed
* from tab and accessibility order while closed.
*/
inertWhenClosed?: boolean;
}
/**
* Smoothly expands/collapses its content via a `grid-template-rows` transition
* (0fr ↔ 1fr) with an inner `overflow-hidden` wrapper. Shared by Tree and
* TreeView so the collapse animation lives in one place.
*/
export declare const Collapse: FC;