export type AppState = "upload" | "loading" | "analyzing"; export interface GlassEffectProps { baseFrequency?: number; numOctaves?: number; scale?: number; bgColor?: string; highlight?: string; } export interface WebcamPermissionError { type: "general" | "https" | "not-supported" | "permission"; message: string; details: string; } export interface Position { x: number; y: number; } export interface Dimensions { width: number; height: number; } export type InitialPosition = "bottom-left" | "bottom-right" | Position; export interface ImageAnalysisResult { file: File; caption: string; error?: string; }