import type { AppBskyEmbedRecordWithMedia } from "@atcute/bluesky"; import type { Bot } from "../../../bot/Bot.js"; import { ExternalEmbed } from "./ExternalEmbed.js"; import { ImagesEmbed } from "./ImagesEmbed.js"; import { PostEmbed } from "./PostEmbed.js"; import type { EmbeddableRecord } from "./util.js"; import { VideoEmbed } from "./VideoEmbed.js"; /** * A post embed that links to a record in addition to either images or external content. */ export declare class RecordWithMediaEmbed extends PostEmbed { record: EmbeddableRecord | null; media: ImagesEmbed | VideoEmbed | ExternalEmbed; /** * @param record The embedded post record. * @param media The media within this embed. */ constructor(record: EmbeddableRecord | null, media: ImagesEmbed | VideoEmbed | ExternalEmbed); isRecordWithMedia(): this is RecordWithMediaEmbed; /** * Constructs a RecordWithMediaEmbed from an embed view and a record. * @param view The view of the embed. * @param record The embed record. * @param bot The active Bot instance. */ static fromView(view: AppBskyEmbedRecordWithMedia.View, record: AppBskyEmbedRecordWithMedia.Main, bot: Bot): RecordWithMediaEmbed; }