import { SatoriOptions } from 'satori/wasm';

interface ImageResponseOptions {
    width?: number;
    height?: number;
    fonts?: SatoriOptions['fonts'];
    debug?: boolean;
    status?: number;
    statusText?: string;
    headers?: Record<string, string>;
    tailwindConfig?: SatoriOptions['tailwindConfig'];
}

declare class ImageResponse extends Response {
    constructor(element: string, options?: ImageResponseOptions);
}

export { ImageResponse };
export type { ImageResponseOptions };
