import React from 'react'; export interface ToggleAnimationProps { isOpen: boolean; toggle?: () => void; children: ({ animation, containerStyles, toggle, registerContentNode, }: { animation: any; containerStyles: React.CSSProperties; toggle: () => void; registerContentNode: React.MutableRefObject; }) => JSX.Element; } declare const ToggleAnimation: (props: ToggleAnimationProps) => JSX.Element; export default ToggleAnimation;