import * as React from 'react'; import ThemeProvider from '../themes/themeProps'; import { Size } from '../utils/sizes'; export interface LinkProps { readonly children?: React.ReactNode; readonly color?: ((props: { readonly theme: ThemeProvider; }) => string) | string; readonly external?: boolean; readonly href?: string | undefined; readonly onClick?: (e: React.MouseEvent) => void; readonly size?: Size; } declare const Link: (props: LinkProps) => JSX.Element; export default Link;