import React from "react";
export interface Props {
    children: React.ReactNode;
    duration?: number;
    handlers?: {
        onEnter?: () => void;
        onEntered?: () => void;
        onEntering?: () => void;
        onExit?: () => void;
        onExited?: () => void;
        onExiting?: () => void;
    };
    inProp: boolean;
    mountOnEnter?: boolean;
    nodeRef: React.Ref<HTMLElement>;
    unmountOnExit?: boolean;
}
export declare const RTGTransition: React.FC<Props>;
