export interface FigmaEmbedProps { /** Any Figma URL (design/file/proto/board/slides/deck) or an already-resolved embed URL. */ url: string; /** Heading shown above the embed. Defaults to "Figma Design". */ title?: string; /** * iframe height (CSS value). The data-room document viewer omits it (full * height, `calc(100vh - 250px)`); inline markdown passes e.g. `"70vh"` so the * embed sits naturally inside article content. */ height?: string; /** iframe loading strategy. Defaults to `"lazy"`; the data-room viewer passes `"eager"`. */ loading?: 'eager' | 'lazy'; } /** * Single source of truth for every Figma surface — the data-room document viewer * and in-article markdown both render this. A header (icon + title + "Open in * Figma") over an interactive Figma iframe, built from the canonical * `toFigmaEmbedUrl` / `toFigmaOriginalUrl` converters + the shared * `` (which owns the header/empty-state/iframe shell). * Only height/loading differ per surface. * * For Slides decks, a present/browse toggle (default = present) lets viewers flip * slides with Figma's native nav bar + keyboard, or switch to the thumbnail-rail * browse view. The toggle's state lives HERE (the frame's `actions` slot is a * plain ReactNode) — flipping it recomputes `embedSrc`, and the frame's * `EmbedIframe` remounts on the new src exactly as before the extraction. */ export declare function FigmaEmbed({ url, title, height, loading }: FigmaEmbedProps): import("react").JSX.Element; //# sourceMappingURL=figma-embed.d.ts.map