import { CategoryDTO } from '@sentecacommerce/sdk';
import { QueryResult, QueryCache } from 'react-query';
declare type CategoriesApiType = {
    readonly getBySlug: (slug: string) => QueryResult<CategoryDTO, unknown>;
    readonly prefetchBySlug: (queryCache: QueryCache, slug: string) => Promise<CategoryDTO>;
};
export declare const CategoriesApiFactory: {
    getInstance: () => CategoriesApiType;
};
export declare const categoriesApi: CategoriesApiType;
export {};
