export type UseRevealOptions = { /** * @default "left" */ direction?: "left" | "right"; /** * A number that represents the offset to start the animations, giving `-1` * means that the animation will start when the scroll position is at * 100% higher than the given element. Giving `2` the animation will starts * when the scroll reached two times the height of the given element below * the top edge of the element itself * * @default -2 */ offsetStartY?: number; /** * When 0 it defaults to the same as the offsetStartY * @default 0 */ offsetEndY?: number; /** * A value from `0` to `1` representing a proportion of the element width * or "all" to make it completely out of the viewport * @default "all" * */ offsetStartX?: number | "all"; }; export declare let useReveal: ({ direction, offsetStartY, offsetEndY, offsetStartX, }: UseRevealOptions) => { ref: import("react").RefObject; startY: number; endY: number; startX: number; }; export default useReveal;