/** * @file * @author dailin01 */ import React from 'react'; declare const LinkTypes: ["default", "primary", "text"]; export type LinkType = typeof LinkTypes[number]; declare const SizeTypes: ["small", "medium"]; export type SizeType = typeof SizeTypes[number]; export interface BaseLinkProps { icon?: React.ReactNode; type?: LinkType; size?: SizeType; disabled?: boolean; prefixCls?: string; className?: string; style?: React.CSSProperties; children?: React.ReactNode; } export type NativeLinkProps = { href: string; target?: string; onClick?: React.MouseEventHandler; } & BaseLinkProps & Omit, 'type' | 'onClick'>; export type LinkProps = Partial; interface CompoundedComponent extends React.ForwardRefExoticComponent> { } declare const Link: CompoundedComponent; export default Link;