import { Provider } from './provider';
import { AxiosResponse } from 'axios';
import { Config } from './config';
import Request from './request';
export interface Product {
    owner: string;
    name: string;
    createdTime: string;
    displayName: string;
    image: string;
    detail?: string;
    description: string;
    tag: string;
    currency?: string;
    price?: number;
    quantity: number;
    sold: number;
    providers?: string[];
    returnUrl?: string;
    state?: string;
    providerObjs?: Provider[];
}
export declare class ProductSDK {
    private config;
    private readonly request;
    constructor(config: Config, request: Request);
    getProducts(): Promise<AxiosResponse<{
        data: Product[];
    }, any>>;
    getProduct(id: string): Promise<AxiosResponse<{
        data: Product;
    }, any>>;
    modifyProduct(method: string, product: Product): Promise<AxiosResponse<Record<string, unknown>, any>>;
    addProduct(product: Product): Promise<AxiosResponse<Record<string, unknown>, any>>;
    updateProduct(product: Product): Promise<AxiosResponse<Record<string, unknown>, any>>;
    deleteProduct(product: Product): Promise<AxiosResponse<Record<string, unknown>, any>>;
}
