import { ReactElement, ReactNode } from 'react'; /** * Stable Button prop surface for this package. * * HeroUI's `ButtonRootProps` can collapse (no `children`, `onPress`, * `isDisabled`, `size`, or `variant`) when `@heroui/styles` fails to * resolve. This wrapper keeps an explicit public contract and casts * through to HeroUI at the boundary. */ export type HeroButtonSize = "sm" | "md" | "lg"; export type HeroButtonVariant = "primary" | "secondary" | "tertiary" | "ghost" | "outline" | "danger" | "danger-soft"; export interface HeroButtonProps { "aria-current"?: "page" | "step" | "location" | "date" | "time" | "true" | "false"; "aria-label"?: string; children?: ReactNode; className?: string; fullWidth?: boolean; isDisabled?: boolean; isIconOnly?: boolean; isPending?: boolean; onPress?: () => void; size?: HeroButtonSize; type?: "button" | "reset" | "submit"; variant?: HeroButtonVariant; } export declare function HeroButton(props: HeroButtonProps): ReactElement;