import type { LanguageCode as I18nLanguageCode } from "@swishapp/i18n"; import type { PlacementSpec } from "../dom/create-placement"; import { IntentOptions } from "../intents/intents"; import { StorefrontApiOptions } from "../swish"; import type { AuthOptions, DrawerSectionInput, HomeSectionInput, ListDetailPageSectionInput, ListDetailSectionInput, ListsSectionInput, MetafieldOptions, NotificationsSectionInput, OrderDetailSectionInput, OrdersSectionInput, ProductDetailSectionInput, ProfileSectionInput, SavesSectionInput, StorefrontContext, SwishOptions, TransformOptions, UiDesignOptions } from "./types"; export type SwishOptionsInput = { storefront: StorefrontApiOptions; context: StorefrontContext; translations?: Record>; auth?: Partial; metafields?: MetafieldOptions; transforms?: TransformOptions; intents?: Partial; placements?: PlacementSpec[]; ui?: Partial; }; interface UiOptions { baseUrl?: string; css?: (string | URL)[]; design?: UiDesignOptions; icons?: Record; images?: { baseTint?: boolean; }; drawer?: { sections?: DrawerSectionInput[]; }; home?: { sections?: HomeSectionInput[]; }; saves?: { sections?: SavesSectionInput[]; }; lists?: { sections?: ListsSectionInput[]; }; listDetail?: { sections?: ListDetailSectionInput[]; }; listDetailPage?: { sections?: ListDetailPageSectionInput[]; }; orders?: { sections?: OrdersSectionInput[]; }; orderDetail?: { sections?: OrderDetailSectionInput[]; }; productDetail?: { sections?: ProductDetailSectionInput[]; }; profile?: { sections?: ProfileSectionInput[]; }; notifications?: { sections?: NotificationsSectionInput[]; }; } export declare const createSwishOptions: (options: SwishOptionsInput) => SwishOptions; export {};