import React, { type Ref } from 'react'; import { type Direction } from '@atlaskit/motion'; interface ChildrenAsFunctionProps { 'data-enter-from': string; 'data-exit-to': string; 'data-testid'?: string; className?: string; ref: Ref; } interface NestingMotionProps { enterFrom: Direction; exitTo: Direction; children: (props: ChildrenAsFunctionProps) => React.ReactNode; testId?: string; } /** * @internal */ export declare const NestingMotion: (props: NestingMotionProps) => React.JSX.Element; export {};