import React from 'react'; export interface AddToCartButtonProps { /** * Whether the button is disabled. */ isDisabled: boolean; /** * Shows a spinner instead of the icons and ignores clicks. */ isLoading: boolean; /** * Called on click. `false` skips the checkmark animation, a promise delays it until it * resolves. */ onClick: (event: React.MouseEvent) => unknown; /** * Hides the button from assistive technology. */ 'aria-hidden'?: boolean; /** * Accessible label of the button. */ 'aria-label'?: string; /** * Size of the button in pixels. * @default 40 */ buttonSize?: number; /** * Custom class name for the button. */ className?: string; /** * Ref of the button element, set by `withForwardedRef`. */ forwardedRef?: React.Ref; /** * Size of the icons in pixels. * @default 20 */ iconSize?: number; /** * Called when the checkmark animation has finished. */ onReset?: () => void; /** * Counts adds that happen outside the click, e.g. in a picker; each increase plays the checkmark. * @default 0 */ successCount?: number; } declare const _default: React.ForwardRefExoticComponent & React.RefAttributes>; export default _default; //# sourceMappingURL=AddToCartButton.d.ts.map