import { ReactElement, ReactNode } from 'react'; import { CommonProps } from '../common'; export interface SpinnerProps extends CommonProps { /** * Content expected to be loaded. */ children?: ReactNode; /** * Loading state of content wrapped by spinner. This is required when children is present. */ loading?: boolean; /** * Size of spinner */ size?: 'small' | 'medium' | 'large'; /** * Additional text */ text?: string; } declare const Spinner: ({ text, size, loading, children, id, className, style, sx, "data-test-id": dataTestId, }: SpinnerProps) => ReactElement; export default Spinner;