import { type Transition } from 'motion/react';
import React from 'react';
interface ModalHeightAnimationLayerProps {
    children: React.ReactNode;
    permittedHeight: number;
}
/**
 * Timing for the modal's height resize. Exported so content that animates its
 * own height *inside* the modal (e.g. an expanding notice that pushes a button
 * down) can reuse it and stay in lockstep with the frame — mismatched
 * duration/ease makes the inner content and the modal edge resize separately.
 */
export declare const MODAL_HEIGHT_ANIMATION_TRANSITION: Transition;
export declare function ModalHeightAnimationLayer({ children, permittedHeight, }: ModalHeightAnimationLayerProps): React.JSX.Element;
export {};
