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