@vercel/og
Version:
Generate Open Graph Images dynamically from HTML/CSS without a browser
12 lines (9 loc) • 358 B
TypeScript
import { ReactElement } from 'react';
import { ImageResponseOptions } from './types.js';
import 'satori';
import 'http';
declare class ImageResponse extends Response {
constructor(element: ReactElement, options?: ImageResponseOptions);
}
type EdgeImageResponse = typeof ImageResponse;
export { EdgeImageResponse, ImageResponse, ImageResponseOptions };