import { ProductDTO } from '@sentecacommerce/sdk';
import { QueryCache, QueryResult } from 'react-query';
declare type ProductsApiType = {
    readonly useProduct: (slug: string, config?: getProductBySlugConfig) => QueryResult<ProductDTO, unknown>;
    readonly usePrefetchProduct: (queryCache: QueryCache, slug: string, config?: getProductBySlugConfig) => void;
};
export declare type getProductBySlugConfig = {
    storeKey?: string;
    currencyCode?: string;
    languageCode?: string;
    priceListKey?: string;
    time?: number;
    merchantKey?: string;
    expand?: string;
    project?: string;
};
export declare const ProductsApiFactory: {
    getInstance: () => ProductsApiType;
};
export declare const productsApi: ProductsApiType;
export {};
