import { CSSMotionProps } from 'rc-motion'; import { OpenAnimation, MenuMode } from '../interface'; interface GetMotionProps { motion?: CSSMotionProps; defaultMotions?: Partial<{ [key in MenuMode | 'other']: CSSMotionProps; }>; openAnimation?: OpenAnimation; openTransitionName?: string; prefixCls?: string; } interface GetMotionState { switchingModeFromInline: boolean; } export declare function getMotion({ prefixCls, motion, defaultMotions, openAnimation, openTransitionName, }: GetMotionProps, { switchingModeFromInline }: GetMotionState, menuMode: MenuMode): CSSMotionProps; export {};