import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface WaitSpinnerPropsBase { children?: never; /** * A React ref which is set to the DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; /** A string to display to screen readers. Set the prop to `null` or an empty string to hide the * spinner from screen readers, such as when there is already a text label beside it. */ screenReaderText?: string | null; /** * Size of WaitSpinner. */ size?: 'small' | 'medium' | 'large'; /** * Visual style of the WaitSpinner. * * - `'default'` — Standard themed stroke colors * - `'sheen'` — Full spectrum gradient * - `'sheen-blue'` — Initial blue portion with cisco blue to cisco medium gradient * - `'sheen-magenta'` — Initial magenta portion with magenta to orange gradient * * @private */ appearance?: 'default' | 'sheen' | 'sheen-blue' | 'sheen-magenta'; } type WaitSpinnerProps = ComponentProps; declare function WaitSpinner({ appearance, elementRef, screenReaderText, size, ...otherProps }: WaitSpinnerProps): React.JSX.Element; declare namespace WaitSpinner { var propTypes: { appearance: PropTypes.Requireable; elementRef: PropTypes.Requireable; screenReaderText: PropTypes.Requireable; size: PropTypes.Requireable; }; } export default WaitSpinner;