import { ElementType, ReactElement } from 'react'; import { TimeoutProps } from 'react-transition-group/Transition'; import { OverridableProps } from '../../types'; export interface TransitionBaseOwnProps extends Omit>, 'children'> { /** {@link _mode}"collapse"时生效,展开与收起的方向 默认为`vertical` */ orientation?: 'vertical' | 'horizontal'; /** {@link _mode}"slide"时生效,滑入的方向 */ direction?: 'left' | 'right' | 'up' | 'down'; /** {@link _mode}"slide"时生效,滑入前的偏移量 */ offset?: string | number; /** @private 内部使用,以下预设的过渡组件均继承该组件 */ _mode?: '_sweeping' | 'collapse' | 'grow' | 'fade' | 'slide'; } export type TransitionBaseProps = OverridableProps, C>; export declare const TransitionBase: (props: TransitionBaseProps) => ReactElement;