@difizen/ai-flow
Version:
Scalable, out-of-the-box, agent-oriented flow
14 lines (13 loc) • 744 B
TypeScript
import type { EditorConfig, LexicalNode, NodeKey, SerializedTextNode } from 'lexical';
import { TextNode } from 'lexical';
export declare class VariableValueBlockNode extends TextNode {
static getType(): string;
static clone(node: VariableValueBlockNode): VariableValueBlockNode;
constructor(text: string, key?: NodeKey);
createDOM(config: EditorConfig): HTMLElement;
static importJSON(serializedNode: SerializedTextNode): TextNode;
exportJSON(): SerializedTextNode;
canInsertTextBefore(): boolean;
}
export declare function $createVariableValueBlockNode(text?: string): VariableValueBlockNode;
export declare function $isVariableValueNodeBlock(node: LexicalNode | null | undefined): node is VariableValueBlockNode;