import { AbstractPureComponent } from "../../common/abstractPureComponent"; import { IIntentProps, IProps } from "../../common/props"; export interface ISpinnerProps extends IProps, IIntentProps { /** * Width and height of the spinner in pixels. The size cannot be less than * 10px. Constants are available for common sizes: `Spinner.SIZE_SMALL`, * `Spinner.SIZE_STANDARD`, `Spinner.SIZE_LARGE`. * @default Spinner.SIZE_STANDARD = 50 */ size?: number; /** * HTML tag for the wrapper element. If rendering a `` inside an * ``, change this to an SVG element like `"g"`. * @default "div" */ tagName?: keyof JSX.IntrinsicElements; /** * A value between 0 and 1 (inclusive) representing how far along the operation is. * Values below 0 or above 1 will be interpreted as 0 or 1 respectively. * Omitting this prop will result in an "indeterminate" spinner where the head spins indefinitely. */ value?: number; } export declare class Spinner extends AbstractPureComponent { static displayName: string; static readonly SIZE_SMALL: number; static readonly SIZE_STANDARD: number; static readonly SIZE_LARGE: number; componentDidUpdate(prevProps: ISpinnerProps): void; render(): JSX.Element; protected validateProps({className, size}: ISpinnerProps): void; private getSize(); }