import { FC, HTMLAttributes, Ref } from 'react'; import { SpinnerSize, SpinnerVariant } from './types'; export interface SpinnerProps extends HTMLAttributes { /** * Visual size of the spinner. * Maps to a scalable design token or type scale. * Accepts values from 1 (smallest) to 11 (largest). */ size?: SpinnerSize; /** * Visual color variant of the spinner. */ variant?: SpinnerVariant; /** * Ref to the spinner's root container. * Useful for imperative DOM access or measurement. */ ref?: Ref; } /** Spinner is a UI component that indicates a loading or processing state, often displayed as a rotating circle or * animated graphic, to show that the system is performing an action or waiting for a response */ export declare const Spinner: FC;