import { Component } from 'react'; import type { SpinnerProps, SpinnerState } from './props'; /** --- category: components --- **/ declare class Spinner extends Component { static readonly componentId = "Spinner"; static allowedProps: readonly (keyof { as?: import("@instructure/shared-types").AsElementType; delay?: number; elementRef?: (element: Element | null) => void; margin?: import("@instructure/emotion").Spacing; renderTitle?: import("@instructure/shared-types").Renderable; size?: "x-small" | "small" | "medium" | "large"; variant?: "default" | "inverse"; })[]; static defaultProps: { as: string; size: string; variant: string; }; ref: Element | null; private readonly titleId?; private delayTimeout?; handleRef: (el: Element | null) => void; constructor(props: SpinnerProps); componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; radius(): "0.5em" | "1em" | "2.25em" | "1.75em"; renderSpinner(): import("@emotion/react/jsx-runtime").JSX.Element; render(): import("@emotion/react/jsx-runtime").JSX.Element | null; } export default Spinner; export { Spinner }; //# sourceMappingURL=index.d.ts.map