import { interstitialProps } from '../Interstitial/Interstitial'; import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react'; import { ButtonVariants } from './Button.css'; export type ButtonBase = { children?: ReactNode; targetUrl?: string; id?: string; action?: () => void; className?: string; newTab?: boolean; marketingIntersitial?: interstitialProps; }; export type ButtonAsButton = ButtonBase & Omit, keyof ButtonBase> & { as?: "button"; }; export type ButtonAsLink = ButtonBase & Omit, keyof ButtonBase> & { as?: "a"; }; export type ButtonProps = ButtonAsButton | ButtonAsLink; export declare const Button: ({ as, children, color, size, disabled, rounded, targetUrl, id, newTab, action, className, square, marketingIntersitial, ...rest }: ButtonProps & ButtonVariants) => import("react").JSX.Element;