/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import * as React from "react"; import { VisualElement } from "../../render/types"; import { VisualState } from "./use-visual-state"; /** * Creates a ref function that, when called, hydrates the provided * external ref and VisualElement. */ export declare function useMotionRef(visualState: VisualState, visualElement?: VisualElement | null, externalRef?: React.Ref): React.Ref;