import { StorefrontApiClient, StorefrontApiResponse } from "./storefront-api-client"; import type { GetProductCardDataQuery, GetProductCardDataWithVariantQuery } from "./types/storefront.generated"; import type { HasMetafieldsIdentifier } from "./types/storefront.types"; export type LoadProductCardDataResponse = StorefrontApiResponse; export type { GetProductCardDataQueryVariables } from "./types/storefront.generated"; export interface LoadProductCardDataArgs { productId?: string; variantId?: string; productMetafields?: HasMetafieldsIdentifier[]; variantMetafields?: HasMetafieldsIdentifier[]; } export declare const loadProductCardData: (client: StorefrontApiClient, { productId, variantId, productMetafields, variantMetafields, }: LoadProductCardDataArgs) => Promise<{ data: GetProductCardDataQuery | GetProductCardDataWithVariantQuery | undefined; errors: import("@shopify/graphql-client").ResponseErrors | null; }>;