import { Product, UnboundProductData } from "../products/product.base.js"; import type { ProductSelector } from "../store.js"; import { FetchedProduct, Provider, ProviderData } from "./provider.base.js"; export interface FetchResponse { code: number; message: string; campaign: string; campaignType: string; platformProductId: string; buyLinkBaseUrl?: string; verifoneProductCode: string; product: ProductData; } export interface ProductData { productId: string; productName: string; buyLinkBaseUrl?: string; options: OptionData[]; } export interface OptionData { slots: number; months: number; currency: string; price: number; discountedPrice: number; discountAmount: number; discountPercentage: number; buyLink: string; verifoneOptionCode?: string; verifoneProductId?: string; coupon?: string; checkoutPaymentPeriod?: string; optionCode?: string; } export declare class VlaicuProvider extends Provider { constructor(param: ProviderData); protected _getProduct(product: UnboundProductData | undefined): Product | undefined; fetch({ id, campaign }: ProductSelector): Promise; private buildApiURL; private processVariations; }