import type { ShopConfiguration } from '@scayle/storefront-api';
import type { RpcHandler } from '../../types';
/**
 * Retrieves the shop configuration.
 *
 * This function uses the Storefront cache (`cached()`) with a `get-shopConfigurations` key prefix to improve performance.
 * Cached entries are returned if found; otherwise, data is fetched and cached.
 *
 * @param context The RPC context.
 *
 * @returns The shop configuration. It will return an `ErrorResponse` alternatively
 * if the Storefront API request fails.
 */
declare const getShopConfiguration: RpcHandler<ShopConfiguration>;
export { getShopConfiguration };
