///
import { DecoratorNode } from 'lexical';
import type { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
export interface CustomEmojiPayload {
src: string;
id: string;
}
declare type SerializedCustomEmojiNode = Spread<{
src: string;
id: string;
}, SerializedLexicalNode>;
export declare class CustomEmojiNode extends DecoratorNode {
src: string;
id: string;
static getType(): string;
static clone(node: CustomEmojiNode): CustomEmojiNode;
constructor(src: string, id: string, key?: NodeKey);
static importJSON(serializedNode: SerializedCustomEmojiNode): CustomEmojiNode;
createDOM(config: EditorConfig): HTMLElement;
updateDOM(): boolean;
exportDOM(): DOMExportOutput;
static importDOM(): DOMConversionMap | null;
exportJSON(): SerializedCustomEmojiNode;
isInline(): boolean;
decorate(): JSX.Element;
}
export declare const $isCustomEmojiNode: (node: LexicalNode | null | undefined) => node is CustomEmojiNode;
export declare const $createCustomEmojiNode: ({ src, id, }: CustomEmojiPayload) => CustomEmojiNode;
export {};
//# sourceMappingURL=CustomEmojiNode.d.ts.map