import React, { ReactNode } from 'react';
import UserLink from './user-link';
interface Props {
    name: ReactNode | string;
    src?: string;
    text?: string;
    className?: string;
    altText?: string;
}
declare const defaultProps: {
    className: string;
};
declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>;
export declare type UserProps = Props & typeof defaultProps & NativeAttrs;
declare type MemoUserComponent<P = {}> = React.NamedExoticComponent<P> & {
    Link: typeof UserLink;
};
declare type ComponentProps = Partial<typeof defaultProps> & Omit<Props, keyof typeof defaultProps> & NativeAttrs;
declare const _default: MemoUserComponent<ComponentProps>;
export default _default;
