import type { Product, ProductMedia, ProductVariant } from '../types/product'; export type SchemaVariant = { variant: { handle: string; sku: string; }; }; export declare function isObjEmpty(obj?: Record): boolean; export declare function atobID(id: string): string | undefined; export declare function btoaID(id: string, type?: 'ProductVariant' | 'Product'): string; export declare const getThemeLocale: (locale: string) => string; /** * 生成 metafieldIdentifiers 查询参数 */ export declare const getNormalCoupon: ({ variant }: { variant?: ProductVariant; }) => import("../types/product").VariantCoupon | undefined; export declare function replaceUmlaut(str: string): string; export declare function handle(str: string): string; export declare function getVariantImageIndex({ mediaList, variant, }: { variant: ProductVariant; mediaList: ProductMedia[]; }): null | number; export declare function getVariantMediaList({ product, variant }: { variant: ProductVariant; product: Product; }): ProductMedia[]; export declare const checkItemAvailableForProduct: ({ product, item, variant, }: { product: Product; variant: ProductVariant; item?: { includeTags?: string[]; includeProducts?: SchemaVariant[]; excludeProducts?: SchemaVariant[]; }; }) => string | boolean | SchemaVariant | undefined;