@analogjs/content
Version:
Content Rendering for Analog
20 lines (16 loc) • 498 B
TypeScript
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 };