import { CSSObject, CSSProperties } from 'styled-components'; import { PropsWithChildren } from 'react'; import { Property } from 'csstype'; export type CollapseProps = PropsWithChildren & { isOpen?: boolean; duration?: number; animation?: Property.TransitionTimingFunction | { open: Property.TransitionTimingFunction; close: Property.TransitionTimingFunction; }; sizeOnClose?: CSSProperties['width']; sizeOnOpen?: CSSProperties['width']; unMountOnClose?: boolean; orientation?: 'vertical' | 'horizontal'; extContainerCss?: CSSObject; intContainerCss?: { always?: CSSObject; onOpen?: CSSObject; }; }; export declare const Collapse: ({ orientation, isOpen, children, duration, animation, sizeOnClose, sizeOnOpen, unMountOnClose, intContainerCss, extContainerCss, }: CollapseProps) => import("react/jsx-runtime").JSX.Element | null;