import React from 'react';
import type { AvatarProps } from 'antd';
import './index.less';
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
export interface PisellAvatarProps extends Omit<AvatarProps, 'size' | 'shape'> {
    shape?: 'circle' | 'square';
    size?: AvatarSize;
    src?: string;
    alt?: string;
    icon?: React.ReactNode;
    children?: React.ReactNode;
    className?: string;
    style?: React.CSSProperties;
    useTextAvatar?: boolean;
    borderRadius?: number;
    onError?: () => boolean;
}
declare const PisellAvatar: React.FC<PisellAvatarProps>;
export default PisellAvatar;
