export interface Product { id?: number; name?: string; slug?: string; permalink?: string; date_created?: Date; date_created_gmt?: Date; date_modified?: Date; date_modified_gmt?: Date; type?: string; status?: string; featured?: boolean; catalog_visibility?: string; description?: string; short_description?: string; sku?: string; price?: string; regular_price?: string; sale_price?: string; date_on_sale_from?: Date; date_on_sale_from_gmt?: Date; date_on_sale_to?: Date; date_on_sale_to_gmt?: Date; price_html?: string; on_sale?: boolean; purchasable?: boolean; total_sales?: number; virtual?: boolean; downloadable?: boolean; downloads?: Array; download_limit?: number; download_expiry?: number; external_url?: string; button_text?: string; tax_status?: string; tax_class?: string; manage_stock?: boolean; stock_quantity?: number; in_stock?: boolean; backorders?: boolean; backorders_allowed?: boolean; backordered?: boolean; sold_individually?: boolean; weight?: string; dimensions?: any; shipping_required?: boolean; shipping_taxable?: boolean; shipping_class?: string; shipping_class_id?: number; reviews_allowed?: boolean; average_rating?: string; rating_count?: number; related_ids?: Array; upsell_ids?: Array; cross_sell_ids?: Array; parent_id?: number; purchase_note?: string; categories?: Category[]; tags?: Array; attributes?: Array; default_attributes?: Array; variations?: Array; grouped_products?: Array; menu_order?: number; meta_data?: Array; images: Images[]; } export interface Category { id: number; name: string; slug: string; } export interface Images { id: number; date_created: Date; date_created_gmt: Date; date_modified: Date; date_modified_gmt: Date; src: string; name: string; alt: string; position: number; } export interface RetrieveProductsResponse { products: Product[]; headers: Array; } export declare enum ProductOrder { 'desc' = "desc", 'asc' = "asc" } export declare enum ProductOrderBy { 'date' = "date", 'id' = "id", 'include' = "include", 'title' = "title", 'slug' = "slug" } export interface ProductQuery { context?: string; page?: number; per_page?: number; search?: string; after?: string; before?: string; exclude?: Array; include?: Array; offset?: number; order?: ProductOrder; orderby?: ProductOrderBy | string; parent?: Array; parent_exclude?: Array; slug?: string; status?: string; type?: string; sku?: string; featured?: boolean; category?: string; tag?: string; shipping_class?: string; attribute?: string; attribute_term?: string; tax_class?: string; in_stock?: boolean; on_sale?: boolean; min_price?: string; max_price?: string; } export interface ProductReview { id?: number; review?: string; date_created?: Date; date_created_gmt?: Date; rating?: number; name?: string; email?: string; verified?: boolean; } export interface ProductReviewsResponse { product_reviews?: ProductReview[]; }