import type { ButtonHTMLAttributes, Ref } from "react";
type Variant = "accent" | "accent-subtle" | "neutral" | "neutral-subtle" | "ghost" | "danger" | "danger-subtle" | "outline";
type Size = 24 | 32 | 40 | 48;
export interface ButtonProps extends ButtonHTMLAttributes {
/** Visual variant. @default "neutral" */
variant?: Variant;
/** Height in px (24 | 32 | 40 | 48). @default 32 */
size?: Size;
/** Render as an anchor with this href (D33). disabled → aria-disabled,
* no href attribute, pointer-events: none. */
href?: string;
/** Anchor target; only used with href. */
target?: string;
/** Anchor rel; only used with href. */
rel?: string;
/** Forwarded ref to the underlying element. */
ref?: Ref;
}
/** Action trigger. With `href` renders an anchor with identical styling (D33);
* `disabled` then maps to `aria-disabled`. */
export declare function Button({ variant, size, href, target, rel, disabled, className, onClick, ref, ...rest }: ButtonProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=Button.d.ts.map