export interface OgFont { name: string; data: ArrayBuffer | Buffer | Uint8Array; weight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900; style?: "normal" | "italic"; } export interface RenderOgOptions { width?: number; height?: number; /** Extra/override fonts. When omitted, the bundled Inter (400+600) is used. */ fonts?: OgFont[]; /** * Emoji provider passthrough for Satori (`graphemeImages` / `loadAdditionalAsset`). * Left undefined by default — emoji render as tofu unless the app supplies fonts. */ loadAdditionalAsset?: (code: string, text: string) => Promise | string; } /** * Render a React element to a PNG buffer via Satori + resvg. * * `element` is whatever the user's `opengraph-image.tsx` produced — a React * element created by the *user's* react. Satori consumes it structurally * (by `type`/`props`), so the react instance doesn't matter. */ export declare function renderOgImage(element: unknown, options?: RenderOgOptions): Promise;