import { EditorConfig, ParagraphNode, SerializedElementNode } from 'lexical';
interface SerializedCustomParagraphNode extends SerializedElementNode {
    customClass: string;
}
export declare class CustomParagraphNode extends ParagraphNode {
    __customClass: string;
    static getType(): string;
    constructor(customClass: string, key?: string);
    createDOM(config: EditorConfig): HTMLElement;
    updateDOM(prevNode: CustomParagraphNode, dom: HTMLElement, config: EditorConfig): boolean;
    exportJSON(): SerializedCustomParagraphNode;
}
export declare function $createCustomParagraphNode(customClass: string): CustomParagraphNode;
export {};
