import { BoxProps } from '@chakra-ui/react'; type SpinnerProps = BoxProps; type ColorSpinnerProps = SpinnerProps; /** A circular spinner * * Can be used in place of a loading animation, or for reloading app state, for instance. * * ```tsx * * ``` * * You can also pass an explanatory text as `children`: * * ```tsx * * Hold your horses * */ declare const ColorSpinner: ({ children, width, maxWidth, ...props }: SpinnerProps) => JSX.Element; /** @deprecated Use ColorSpinner instead */ declare const Spinner: ({ children, width, maxWidth, ...props }: SpinnerProps) => JSX.Element; export { ColorSpinner, ColorSpinnerProps, Spinner, SpinnerProps };