import { AriaAttributes, MouseEventHandler } from "react"; import { InteractionProps, InternalProps, MergedRef, Size } from "../../shared"; export declare type ButtonVariant = "primary" | "secondary" | "tertiary" | "negative"; export interface UseButtonProps extends Partial, InteractionProps { autoFocus?: boolean | number; cssModule?: string; fluid?: boolean; inherit?: boolean; loading?: boolean; onClick: MouseEventHandler; size?: Size; type?: "button" | "submit" | "reset"; variant?: ButtonVariant; } export interface UseButtonReturn { "aria-busy": boolean; "aria-live": AriaAttributes["aria-live"]; className: string; onClick: MouseEventHandler; ref: MergedRef; type: UseButtonProps["type"]; } export declare function useButton({ active, as, autoFocus, cssModule: module, fluid, focus, forwardedRef, hover, inherit, loading, onClick, size, type, variant }: UseButtonProps): UseButtonReturn;