import type { JSX } from "react"; type Props = { /** * Whether the button is disabled. * @defaultValue false */ disabled?: boolean; /** * Whether the button is in a loading state. * When true, the button is disabled and a spinner is shown. * @defaultValue false */ loading?: boolean; }; /** * Props for the Button component. * Extends standard HTML button attributes. */ export type ButtonProps = JSX.IntrinsicElements["button"] & Props; /** * A button component that supports a loading state. * * @remarks * This component wraps the native HTML ` * ``` * * @example * ```tsx * * ``` */ export declare function Button({ className, loading, disabled, children, ...props }: ButtonProps): JSX.Element; export {};