import BaseFoundation, { DefaultAdapter } from '../base/foundation'; export interface AvatarAdapter

, S = Record> extends DefaultAdapter { notifyImgState(isImgExist: boolean): void; notifyLeave(event: any): void; notifyEnter(event: any): void; setFocusVisible: (focusVisible: boolean) => void; setScale: (scale: number) => void; getAvatarNode: () => HTMLSpanElement; } export default class AvatarFoundation

, S = Record> extends BaseFoundation, P, S> { constructor(adapter: AvatarAdapter); init(): void; destroy(): void; handleImgLoadError(): void; handleEnter(e: any): void; handleLeave(e: any): void; handleFocusVisible: (event: any) => void; handleBlur: () => void; changeScale: () => void; }