import { ImageResponse } from 'next/og'; import { ReactElement, ReactNode } from 'react'; import { ImageResponseOptions } from 'next/dist/compiled/@vercel/og/types'; interface GenerateProps { title: ReactNode; description?: ReactNode; icon?: ReactNode; primaryColor?: string; primaryTextColor?: string; site?: ReactNode; } declare function generateOGImage(options: GenerateProps & ImageResponseOptions): ImageResponse; declare function generate({ primaryColor, primaryTextColor, ...props }: GenerateProps): ReactElement; export { generate, generateOGImage };