/// import { ComponentClass } from 'react'; export declare type Props = { center?: boolean; size?: number; /** * If true, the circular progress bar will be changing its color. */ multicolor?: boolean; background?: boolean | string; /** * Type of the progress bar, it can be circular or linear. * @default linear */ type?: 'linear' | 'circular'; /** * Mode of the progress bar, it can be determinate or indeterminate. * @default indeterminate */ mode?: 'determinate' | 'indeterminat'; /** * Maximum value permitted. * @default 100 */ max?: number; /** * Minimum value permitted. * @default 0 */ min?: number; /** * Value of the current progress. * @default 0 */ value?: number; /** * Milliseconds to wait before the spinner is shown * @default 300 */ timeout?: number | false; }; export declare type PrivateProps = { visible: boolean; setVisible: any; }; export declare const enhance: any; export declare const StatelessSpinner: ({size, background, center, timeout, visible, ...props}: Props & PrivateProps) => JSX.Element; export declare const Spinner: ComponentClass;