import type { ImageResponseOptions } from "./types";
interface Props {
/**
* The React element or HTML string to render into an image.
* @example
* ```tsx
*
*
Hello World
*
* ```
* @example
* ```html
* Hello World
* ```
*/
element: string | React.ReactNode;
/**
* The options for the image response.
*/
options: ImageResponseOptions;
}
export declare const og: ({ element, options }: Props) => Promise>;
export declare class ImageResponse extends Response {
constructor(element: string | React.ReactNode, options: ImageResponseOptions);
}
export {};