import { ProgressHandler, ShopifyClient, Collection, ShopifyMetafieldsConfig } from '@sane-shopify/types';
import { ShopifyCache } from './shopifyUtils';
export declare const createCollectionsQuery: (shopifyConfig: ShopifyMetafieldsConfig) => import("graphql").DocumentNode;
export declare const createFetchAllShopifyCollections: (shopifyClient: ShopifyClient, fetchMetafieldsConfig: () => Promise<ShopifyMetafieldsConfig>, cache: ShopifyCache) => (onProgress?: ProgressHandler<Collection>) => Promise<Collection[]>;
