/** * Type definitions for Superprecio MCP Server */ export interface Product { img: string; price: number; desc: string; code: string; link: string; barcode?: string; market: string; logo: string; listPrice?: number; discount?: number; show?: boolean; } export interface Supermarket { id: number; name: string; url: string; logo: string; show?: boolean; createdAt?: string; updatedAt?: string; } export interface SearchRequest { search: string; maxResults?: number; order?: 'OrderByTopSaleDESC' | 'OrderByPriceASC' | 'OrderByPriceDESC'; } export interface SearchResponse { allData: Product[][]; markets: Supermarket[]; searched: { search: string; maxResults: number; order: string; }; columns: number; } export interface ProductComparison { productName: string; barcode?: string; markets: { market: string; logo: string; price: number; link: string; img: string; }[]; lowestPrice: { market: string; price: number; savings: number; }; highestPrice: { market: string; price: number; }; averagePrice: number; } export interface SuperPrecioApiConfig { baseUrl: string; timeout: number; debug: boolean; } export interface NotificationRequest { title: string; body: string; data?: Record; } export interface DeviceSubscription { token: string; topic?: string; } export interface ApiError { message: string; code?: string; details?: any; } //# sourceMappingURL=index.d.ts.map