import * as React from 'react'; import './style/spin.css'; export interface SpinProps { className?: string; spinning?: boolean; style?: React.CSSProperties; size?: 'small' | 'large'; tip?: string; delay?: number; wrapperClassName?: string; children?: React.ReactNode; } export interface SpinState { spinning?: boolean; } declare class Spin extends React.Component { static defaultProps: { spinning: boolean; }; originalUpdateSpinning: () => void; constructor(props: SpinProps); componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; debouncifyUpdateSpinning: (props?: SpinProps | undefined) => void; updateSpinning: () => void; cancelExistingSpin: () => void; isNestedPattern: () => boolean; render(): JSX.Element; } export default Spin;