import { PortalConfig } from './usePortal_DEPRECATED.types';
export declare function useMountAnimations({ onOpen, onClose, forceActive, animation, }: PortalConfig, { childRef, screenRef }: {
    childRef: any;
    screenRef: any;
}): {
    open: (e: any) => void;
    close: (e: any) => void;
    active: boolean;
    animationProps: {
        onAnimationStart: () => void;
        onTransitionEnd: () => void;
        onAnimationEnd: () => void;
    };
};
