import type { GetProductQuery, SwishApp } from "./swish"; export interface SwishUiManifest { scripts: Record; prerender: Record; styles: { critical: string; nonCritical: string; theme: string; }; version: string; } export interface SwishUiElementSpec { script: string; template: string; } declare global { interface Window { swish: SwishApp; } } export type Product = NonNullable; export type ProductVariant = NonNullable;