import { EventEmitter } from '@angular/core'; import { EmojiUtils } from '@wizdm/emoji/utils'; export declare const fakeImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="; export declare class EmojiImage { private utils; error: boolean; load: boolean; emoji: string; get loading(): boolean; constructor(utils: EmojiUtils); /** The emoji code to be rendered */ set value(emoji: string); /** Customizes the emoji size when in web mode. Default is 1.25em */ size: string; /** Customizes the emoji spacing when in web mode. Default is 0.05em (each side) */ spacing: string; /** Applies the emoji sequence as the alternative */ get alt(): string; /** The source file of the emoji image corresponding to the requested code */ get src(): string; /** Emits which side (left or right) the emoji image as been hit (mousedowm) */ hit: EventEmitter<"left" | "right">; /** Handles on error event */ onError(): void; /** Handles on load event */ onLoad(): void; /** Handles the mouse event to catch for user hits */ onMouseDown({ target, clientX }: MouseEvent): void; }