import { ViewDTO, ViewFilterResultDTO } from '@sentecacommerce/sdk';
import { QueryCache, QueryResult } from 'react-query';
declare type ViewsApiType = {
    readonly getBySlug: (slug: string) => QueryResult<ViewDTO, unknown>;
    readonly getByTag: (tag: string) => QueryResult<ViewFilterResultDTO, unknown>;
    readonly prefetchBySlug: (queryCache: QueryCache, slug: string) => Promise<ViewDTO>;
};
export declare const ViewsApiFactory: {
    getInstance: () => ViewsApiType;
};
export declare const viewsApi: ViewsApiType;
export {};
