import React from 'react'; import { VariantProps } from 'class-variance-authority'; /** Responsible for wrapping all button text to properly underline on hover for the plain variants */ export declare const ButtonTextContainer: React.ComponentType, HTMLSpanElement>>; declare const buttonVariants: (props?: ({ variant?: "primary" | "prime" | "default" | "plain" | "primaryPlain" | "primaryCritical" | null | undefined; density?: "loose" | "standard" | "tight" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type Variant = NonNullable['variant']>; export type Density = NonNullable['density']>; /** * Wayfinder Button * * @example `asChild` prop renders the button as the immediate child of the button element. * * ```tsx * * ``` * This results in the following HTML: * ```html * * Link Rendered as a Button * * ``` * * @caveat text children of the button will be wrapped in a `ButtonTextContainer` component to properly underline on hover * for the plain variants. If any children are not text, they will not be wrapped automatically and no underline will * be present. */ export declare const Button: React.ForwardRefExoticComponent string> & React.ButtonHTMLAttributes & { loading?: boolean; asChild?: boolean; } & React.RefAttributes>; export declare const ButtonInheritColor: React.ComponentType string> & React.ButtonHTMLAttributes & { loading?: boolean; asChild?: boolean; } & React.RefAttributes>; export {};