export class CometChatAvatar extends React.Component<any, any, any> {
    constructor(props: any);
    imgRef: React.RefObject<any>;
    _isMounted: boolean;
    state: {
        avatarImage: any;
    };
    componentDidMount(): void;
    componentDidUpdate(prevProps: any): void;
    componentWillUnmount(): void;
    setAvatarImage: () => void;
    getImage: (image: any) => void;
    generateAvatar: (generator: any, data: any) => string;
    render(): React.JSX.Element;
}
export namespace CometChatAvatar {
    namespace defaultProps {
        export let borderWidth: string;
        export let borderStyle: string;
        export let borderColor: string;
        export let cornerRadius: string;
        export { theme };
        export let image: string;
        export let user: {};
        export let group: {};
    }
    namespace propTypes {
        let borderWidth_1: PropTypes.Requireable<string>;
        export { borderWidth_1 as borderWidth };
        let borderStyle_1: PropTypes.Requireable<string>;
        export { borderStyle_1 as borderStyle };
        let borderColor_1: PropTypes.Requireable<string>;
        export { borderColor_1 as borderColor };
        let cornerRadius_1: PropTypes.Requireable<string>;
        export { cornerRadius_1 as cornerRadius };
        let image_1: PropTypes.Requireable<string>;
        export { image_1 as image };
        let theme_1: PropTypes.Requireable<object>;
        export { theme_1 as theme };
        let user_1: PropTypes.Requireable<object>;
        export { user_1 as user };
        let group_1: PropTypes.Requireable<object>;
        export { group_1 as group };
    }
}
import React from "react";
import { theme } from "../../../resources/theme";
import PropTypes from "prop-types";
//# sourceMappingURL=index.d.ts.map