import { RafCallback } from "./types"; export declare function buildEvent(type: string, detail?: object): CustomEvent; export declare function getSizesForResponsiveImage(desktopPhotosPerRow: number, mobilePhotosPerRow: number, isHighlighted?: boolean): string; /** * convert hex to RGBA color */ export declare function hexToRGBA(h: any, opacity: any): string; /** * format Shopify product price */ export declare function formatMoney(cents: any, format: any, returnOnlyValue?: boolean): any; export declare function findSharedItemPopup(embedIdSource: any, galleryType: any): string; export declare function getCoverImage(coverImageUrl: any, imageUrl: any): any; export declare function sendToGoogleAnalytics(eventAction: any, eventCategory: any, eventLabel: any): boolean; export declare function getDateFromTimestamp(timestamp: string): string; export declare function getSize(el: any, property: any): any; export declare function getStyle(el: any, property: any): number; export declare function getRandomId(size?: number): string; export declare function isElInViewport(el: Element): boolean; export declare const formatCurrency: (amount: string | number, currencyCode: string, locale: string) => string; export declare const getChain: (ctx: T, method: (this: T) => Promise) => () => Promise; type MoneyInput = { amount: number | string; currencyCode: string; }; export declare function formatMoneyNew(money: MoneyInput, locale?: string): string; export declare const getShopUrlFromProductLink: (productLink: string) => string; export declare const subscribeRaf: (cb: RafCallback) => () => void; export declare const nextTickRaf: (cb: RafCallback) => () => void; export declare const BASE_API_URLS: { production: string; development: string; staging: string; testing: string; }; export {};