import * as React from 'react'; import { TransitionProps } from '../../utils/transitions'; interface Props extends Omit { /** * @ignore */ className?: string; /** * The content node to be collapsed. */ children: React.ReactElement; /** * The width (horizontal) or height (vertical) of the container when collapsed. */ collapsedSize?: string | number; /** * The component used for the root node. * Either a string to use a HTML element or a component. */ component?: React.ComponentType; /** * The collapse transition orientation. */ orientation?: 'horizontal' | 'vertical'; /** * The duration for the transition, in milliseconds. * You may specify a single timeout for all transitions, or individually with an object. * * Set to 'auto' to automatically calculate transition time based on height. */ timeout?: 'auto' | number | { appear?: number; enter?: number; exit?: number; }; } export declare const Collapse: React.ForwardRefExoticComponent>; export {};