import { CmsContentFilterResultDTO, CmsContentDTO } from '@sentecacommerce/sdk';
import { QueryResult, QueryCache } from 'react-query';
export declare type CmsListConfigType = {
    storeKey?: string;
    currencyCode?: string;
    languageCode?: string;
    priceListKey?: string;
    time?: number;
    merchantKey?: string;
    expand?: string;
    project?: string;
    sort?: string;
    limit: number;
    tags?: string[];
    type?: string;
};
declare type CmsContentApiType = {
    useContent: ({ key, }: {
        key?: string;
    }) => QueryResult<CmsContentDTO | undefined, unknown>;
    useContentList: (config: CmsListConfigType, enabled?: boolean) => QueryResult<CmsContentFilterResultDTO, unknown>;
    readonly prefetchContent: ({ queryCache, key, }: {
        queryCache: QueryCache;
        key: string;
    }) => Promise<boolean>;
    prefetchContentList: (queryCache: QueryCache, config: CmsListConfigType, page: number) => Promise<boolean>;
};
export declare const CmsContentApiFactory: {
    getInstance: () => CmsContentApiType;
};
export declare const cmsContentApi: CmsContentApiType;
export declare const prefetchCmsContent: (data: {
    queryCache: QueryCache;
    key: string;
}) => Promise<boolean>;
export declare const prefetchCmsContentList: (queryCache: QueryCache, config: CmsListConfigType, page: number) => Promise<boolean>;
export {};
