import { BrandingFragment, CurrencyFragment, GatewayFragment, ShopFragment } from "./graphql/types"; import { GraphQLOpts } from "./request"; export interface UIEmbedConfig { readonly shop: ShopFragment; readonly currencies: CurrencyFragment[]; readonly gateways: GatewayFragment[]; readonly opts?: GraphQLOpts; readonly cdn?: string; readonly tag?: string; } export interface UIEmbedInfo { fontTagHref: string; styleTagHref: string; scriptTagSrc: string; scriptInitTagContent: string; fontTag: string; styleTag: string; scriptTag: string; scriptInitTag: string; essentialTags: string; scriptThemeEditorTagSrc: string; scriptThemeEditorTag: string; } export declare function embedUI(config: UIEmbedConfig): Promise; export interface AnalyticsEmbedConfig { readonly cdn?: string; readonly beacon?: string; readonly shop: ShopFragment; readonly branding: BrandingFragment; } export interface AnalyticsEmbedInfo { scriptTagContent: string; scriptTag: string; allTags: string; } export declare function embedAnalytics(config: AnalyticsEmbedConfig): Promise;