/** * OG Image Template Generator * * Static SVG template for server-side Open Graph image rendering. * Generates 1200x630 SVG (standard OG dimensions) with CREATE SOMETHING branding. * * "Good design is as little design as possible" - Dieter Rams * * @packageDocumentation */ import type { Property } from '../analytics/types.js'; import type { OGImageProps } from './types.js'; /** Standard OG image dimensions */ export declare const OG_WIDTH = 1200; export declare const OG_HEIGHT = 630; /** * Generate the complete OG image SVG string * * @param options - OG image configuration * @returns Complete SVG string ready for server-side rendering * * @example * ```typescript * const svg = generateOGSVG({ * title: 'Understanding the Hermeneutic Circle', * subtitle: 'A philosophical exploration', * property: 'io', * variant: 'default' * }); * * // Use with @resvg/resvg-js or similar for PNG conversion * ``` */ export declare function generateOGSVG(options: OGImageProps): string; /** * Generate a minimal OG image SVG (cube + title only) * * @param title - Page title * @param property - Property for styling * @returns Minimal SVG string */ export declare function generateMinimalOGSVG(title: string, property?: Property): string; /** * Get the SVG as a data URI for direct use in img src * * @param options - OG image configuration * @returns Base64-encoded data URI */ export declare function generateOGDataURI(options: OGImageProps): string;