--- import renderBackgroundImage from "../api/renderBackgroundImage.js"; import type { BackgroundImageConfigOptions } from "../types.d"; const content = await Astro.slots.render("default"); declare interface Props extends Pick< BackgroundImageConfigOptions, Exclude > {} const { link, style, htmlElement } = await renderBackgroundImage({ content, ...(Astro.props as Props), }); ---