import React from 'react';
import { type BaseProps } from './types';
export type LoadingButtonOwnProps = {
    isLoading?: boolean;
};
export type LoadingButtonProps = Omit<BaseProps, 'overlay'> & LoadingButtonOwnProps;
/**
 * __Loading button__
 *
 * @deprecated Legacy loading buttons are deprecated and will be removed from `atlaskit/button` in an upcoming major release. Please use `Button` from `@atlaskit/button/default/button` with the `isLoading` prop.
 *
 * Please refer to the [migration guide](https://atlassian.design/components/button/button-legacy/migration-guide) for further details.
 *
 * A small wrapper around Button that allows you to show an @atlaskit/spinner as an overlay on the button when you set an isLoading prop to true.
 *
 * - [Examples](https://atlassian.design/components/button/examples#loading-button)
 */
declare const LoadingButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<LoadingButtonProps> & React.RefAttributes<HTMLElement>>;
export default LoadingButton;
