import React from 'react';
import { IconSize } from '../kit/Icon';
import { Loadable } from '../kit/utils/loadable';
import { XOR } from '../kit/utils/types';
interface PropsBase {
    center?: boolean;
    size?: IconSize;
    tip?: React.ReactNode;
}
type Props<T> = XOR<{
    children?: React.ReactNode;
    conditionalRender?: boolean;
    spinning?: boolean;
}, {
    children: (data: T) => JSX.Element;
    data: Loadable<T>;
}> & PropsBase;
declare function Spinner<T>({ center, children, conditionalRender, size, spinning, tip, data, }: Props<T>): JSX.Element;
export default Spinner;
//# sourceMappingURL=Spinner.d.ts.map