import * as PropTypes from 'prop-types'; import { ComponentPropsWithRef } from 'react'; export declare const NX_BUTTON_VARIANTS: readonly ["primary", "secondary", "tertiary", "icon-only", "error"]; export type NX_BUTTON_VARIANT_TYPE = (typeof NX_BUTTON_VARIANTS)[number]; interface CommonProps extends Omit, 'title'> { inline?: boolean; title?: string | null; } export interface IconOnlyButtonProps extends CommonProps { variant: 'icon-only'; } export interface OtherButtonProps extends CommonProps { variant?: Omit | null; } export type Props = IconOnlyButtonProps | OtherButtonProps; export declare const propTypes: PropTypes.ValidationMap; export {}; //# sourceMappingURL=types.d.ts.map