UNPKG

supa-seed

Version:

A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support

24 lines 1.08 kB
import { ImageGenerationOptions, GeneratedImage } from '../types/types'; /** * Generate a placeholder image buffer for seeding * In a real implementation, this could connect to AI image generation or stock photo APIs */ export declare function generatePlaceholderImage(options: ImageGenerationOptions): Promise<GeneratedImage>; /** * Download an image from Unsplash * Requires UNSPLASH_ACCESS_KEY environment variable */ export declare function downloadUnsplashImage(query: string, options: ImageGenerationOptions): Promise<GeneratedImage | null>; /** * Optimize an image buffer (resize, compress, format conversion) */ export declare function optimizeImage(buffer: Buffer, options: Partial<ImageGenerationOptions>): Promise<Buffer>; /** * Generate appropriate search terms for different gear categories */ export declare function getImageSearchTerms(category: string): string[]; /** * Generate realistic filename for setup images */ export declare function generateSetupImageFilename(setupTitle: string, index: number): string; //# sourceMappingURL=image-utils.d.ts.map