/// <reference types="react" />
/**
 * [Experimental]: This component use ref to toggle transition.
 */
export declare const ViewTransition: import("react").ForwardRefExoticComponent<{
    children?: React.ReactNode;
    style?: import("react").CSSProperties | undefined;
    className?: string | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "className" | "style" | "children"> & import("react").RefAttributes<{
    replace(children: React.ReactNode): void;
}>>;
