import type { TElement } from '@udecode/plate-common'; export interface ElementNode extends TElement { type: string; } /** * Check if the value is having an `ElementNode` shape: `{ children: array, type: string }`. */ export declare function isElementNode(value: unknown): value is ElementNode; /** * Check if the value is an `ElementNode` of the given type. */ export declare function isElementNode(value: unknown, type: T['type']): value is T; /** * Check if the value is an `ElementNode` of one of the given types. */ export declare function isElementNode(value: unknown, type: T['type'][]): value is T;