import type { OEmbedInfo } from '@prezly/sdk'; import type { ElementNode } from './ElementNode'; export interface VideoNode extends ElementNode { type: typeof VideoNode.TYPE; uuid: string; url: string; oembed: OEmbedInfo; layout: `${VideoNode.Layout}`; } export declare namespace VideoNode { const TYPE = "video"; enum Layout { CONTAINED = "contained", EXPANDED = "expanded", FULL_WIDTH = "full-width" } function isVideoNode(value: any): value is VideoNode; function validateVideoNode(node: Partial | undefined): node is VideoNode; }