import * as React from 'react'; import type { HTMLProps } from '../utils/utilityTypes'; import type { BaseTransitionProps } from './interface'; export interface TransitionChildrenProps extends Required { visible?: boolean; } export interface TransitionProps extends BaseTransitionProps { nodeRef?: React.RefObject | React.ForwardedRef; tranisitionName: string; duration?: number; children: ((props: TransitionChildrenProps, setNodeRef: (node: HTMLElement | null) => void) => React.ReactElement) | React.ReactElement; onEnter?: () => void; onEnterActive?: () => void; onEnterEnd?: () => void; onLeave?: () => void; onLeaveActive?: () => void; onLeaveEnd?: () => void; } declare const Transition: React.FC; export default Transition;