/** * @fileoverview Provider that enables smooth scrolling behavior site-wide. * Applies `scroll-behavior: smooth` to the `` element on mount and * cleans up on unmount. Respects `prefers-reduced-motion` by disabling * smooth scrolling when the user prefers reduced motion. * @module packages/ui/providers/smooth-scroll-provider * @package ui */ import { type ReactNode } from "react"; /** Props for the SmoothScrollProvider component. */ export interface SmoothScrollProviderProps { /** Child elements to render. */ children: ReactNode; /** Whether smooth scrolling is enabled. Default: `true` */ enabled?: boolean; } /** * Context-free provider that toggles smooth scrolling on ``. * * - Adds `scroll-behavior: smooth` to the document element * - Automatically disables when `prefers-reduced-motion: reduce` is set * - Restores the original scroll behavior on unmount * * @component * @package ui */ export declare function SmoothScrollProvider({ children, enabled, }: SmoothScrollProviderProps): import("react/jsx-runtime").JSX.Element;