import type { AppBskyEmbedExternal } from "@atcute/bluesky"; import { PostEmbed } from "./PostEmbed.js"; /** * Data used to construct an ExternalEmbed class. * @see ExternalEmbed */ export interface ExternalEmbedData { uri: string; title: string; description: string; thumb?: string | undefined; } /** * A post embed that links to external content. */ export declare class ExternalEmbed extends PostEmbed { /** The URI of the external content. */ uri: string; /** The title of the embed. */ title: string; /** The description of the embed. */ description: string; /** The URL for the embed's thumbnail. */ thumb?: string; /** * @param data Embed data. */ constructor({ uri, title, description, thumb }: ExternalEmbedData); isExternal(): this is ExternalEmbed; /** * Constructs an ExternalEmbed from an embed view. * @param externalView The view of the embed. */ static fromView(externalView: AppBskyEmbedExternal.View): ExternalEmbed; }