import * as React from 'react'; import { Size } from '../types'; import { BoxProps } from '../Box'; export declare type LocalSpinnerProps = { /** Color of the spinner. */ color?: string; /** Duration (or speed) of the spinner animation. */ duration?: string; /** Adds a background 'track' to the spinner. */ hasTrack?: boolean; /** The color of the track. */ trackColor?: string; /** Size of the spinner. */ size?: Size; /** Length of the spinner's perimeter as a percentage. */ perimeter?: string; /** Progress value of the spinner. */ value?: number; }; export declare type SpinnerProps = BoxProps & LocalSpinnerProps; export declare const Spinner: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };