import { DecoratorNode, SerializedLexicalNode } from 'lexical';
import { ReactNode } from 'react';
export interface SerializedCodeBlockNode extends SerializedLexicalNode {
    type: "codeblock";
    language: string;
    code: string;
    version: 1;
}
export declare class CodeBlockNode extends DecoratorNode<ReactNode> {
    __language: string;
    __code: string;
    static getType(): string;
    static clone(node: CodeBlockNode): CodeBlockNode;
    constructor(language: string, code: string, key?: string);
    createDOM(): HTMLDivElement;
    updateDOM(): boolean;
    static importJSON(serializedNode: SerializedCodeBlockNode): CodeBlockNode;
    decorate(): import("react/jsx-runtime").JSX.Element;
}
