UNPKG

@prismicio/types-internal

Version:
16 lines (15 loc) 522 B
export declare type Embed = { type: string; version?: string | null; author_name?: string | null; author_url?: string | null; provider_name?: string | null; provider_url?: string | null; cache_age?: string | null; thumbnail_url?: string | null; thumbnail_width?: number | null; thumbnail_height?: number | null; html?: string | null; title?: string | null; }; export declare const getEmbedOrThrow: (embeds: Record<string, Embed | undefined>) => (embedUrl: string) => Embed;