import { StorefrontApiClient, StorefrontApiResponse } from "./storefront-api-client"; import type { GetProductDetailDataQuery, GetProductDetailDataWithVariantQuery } from "./types/storefront.generated"; import type { HasMetafieldsIdentifier } from "./types/storefront.types"; export type LoadProductDetailDataResponse = StorefrontApiResponse; export type { GetProductDetailDataQueryVariables } from "./types/storefront.generated"; export interface LoadProductDetailDataArgs { productId?: string; variantId?: string; productMetafields?: HasMetafieldsIdentifier[]; variantMetafields?: HasMetafieldsIdentifier[]; } export declare const loadProductDetailData: (client: StorefrontApiClient, { productId, variantId, productMetafields, variantMetafields, }: LoadProductDetailDataArgs) => Promise<{ data: GetProductDetailDataQuery | GetProductDetailDataWithVariantQuery | undefined; errors: import("@shopify/graphql-client").ResponseErrors | null; }>;