/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as React from "react"; import { BaseTransitionProps } from "./use-transition-state.js"; export interface CollapseProps extends BaseTransitionProps { /** The axis along which to collapse. Defaults to `vertical` (height). */ orientation?: "vertical" | "horizontal"; /** * The size to keep visible while collapsed (e.g. `'0px'` or `'40px'` for a * peeking header). Defaults to `'0px'`. */ collapsedSize?: string; } /** * Collapses its child along one axis by animating its measured size between * `collapsedSize` and its natural extent. The MUI `Collapse` equivalent. * * The child is wrapped in a clipping container so that overflow is hidden * during the animation. The natural size is measured from a live ref each * commit, so dynamic content is handled. */ export declare function Collapse(props: CollapseProps): React.ReactElement | null; //# sourceMappingURL=Collapse.d.ts.map