import type { OEmbedInfo } from '@prezly/sdk'; import { type ElementNode } from '@prezly/slate-types'; export interface EmbedNode extends ElementNode { type: typeof EmbedNode.TYPE; oembed: OEmbedInfo; url: string; uuid: string; layout: `${EmbedNode.Layout}`; } export declare namespace EmbedNode { const TYPE = "embed"; enum Layout { CONTAINED = "contained", EXPANDED = "expanded", FULL_WIDTH = "full-width" } function isEmbedNode(value: any): value is EmbedNode; }