import React, { ReactNode } from 'react'; export type ButtonElementType = 'a' | 'button' | 'div'; export type ButtonProps = { /** * children of the Button. */ children: ReactNode; /** * link to target page. once href is used, Button is considered an A tag. */ href?: string; /** * class names to inject. */ className?: string; /** * whether the button is disabled. */ disabled?: boolean; } & React.ButtonHTMLAttributes; export declare function Button(props: ButtonProps): React.JSX.Element; export declare class Bar { foo(): void; bar(): void; }