import * as z from 'zod/mini'; import type { LogLevel, WithParams } from '@scayle/storefront-core'; export declare const RedirectsSchema: z.ZodMiniObject<{ enabled: z.ZodMiniBoolean; queryParamWhitelist: z.ZodMiniOptional>>; strategy: z.ZodMiniOptional>; }, z.core.$strip>; declare const SessionSchema: z.ZodMiniObject<{ sameSite: z.ZodMiniOptional>; maxAge: z.ZodMiniOptional>; cookieName: z.ZodMiniOptional>; secret: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; }, z.core.$strip>; declare const SapiSchema: z.ZodMiniObject<{ host: z.ZodMiniURL; token: z.ZodMiniString; }, z.core.$strip>; declare const IdpSchema: z.ZodMiniObject<{ enabled: z.ZodMiniBoolean; idpKeys: z.ZodMiniArray>; idpRedirectURL: z.ZodMiniString; }, z.core.$strip>; declare const StorageSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{ driver: z.ZodMiniEnum<{ null: "null"; "azure-app-configuration": "azure-app-configuration"; azureAppConfiguration: "azureAppConfiguration"; "azure-cosmos": "azure-cosmos"; azureCosmos: "azureCosmos"; "azure-key-vault": "azure-key-vault"; azureKeyVault: "azureKeyVault"; "azure-storage-blob": "azure-storage-blob"; azureStorageBlob: "azureStorageBlob"; "azure-storage-table": "azure-storage-table"; azureStorageTable: "azureStorageTable"; "capacitor-preferences": "capacitor-preferences"; capacitorPreferences: "capacitorPreferences"; "cloudflare-kv-binding": "cloudflare-kv-binding"; cloudflareKVBinding: "cloudflareKVBinding"; "cloudflare-kv-http": "cloudflare-kv-http"; cloudflareKVHttp: "cloudflareKVHttp"; "cloudflare-r2-binding": "cloudflare-r2-binding"; cloudflareR2Binding: "cloudflareR2Binding"; db0: "db0"; "deno-kv-node": "deno-kv-node"; denoKVNode: "denoKVNode"; "deno-kv": "deno-kv"; denoKV: "denoKV"; "fs-lite": "fs-lite"; fsLite: "fsLite"; fs: "fs"; github: "github"; http: "http"; indexedb: "indexedb"; localstorage: "localstorage"; "lru-cache": "lru-cache"; lruCache: "lruCache"; memory: "memory"; mongodb: "mongodb"; "netlify-blobs": "netlify-blobs"; netlifyBlobs: "netlifyBlobs"; overlay: "overlay"; planetscale: "planetscale"; redis: "redis"; s3: "s3"; "session-storage": "session-storage"; sessionStorage: "sessionStorage"; uploadthing: "uploadthing"; upstash: "upstash"; "vercel-blob": "vercel-blob"; vercelBlob: "vercelBlob"; "vercel-kv": "vercel-kv"; vercelKV: "vercelKV"; "vercel-runtime-cache": "vercel-runtime-cache"; vercelRuntimeCache: "vercelRuntimeCache"; }>; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">; declare const CheckoutShopConfigSchema: z.ZodMiniObject<{ token: z.ZodMiniString; secret: z.ZodMiniString; host: z.ZodMiniURL; user: z.ZodMiniUnion, z.ZodMiniNumber]>; cbdExpiration: z.ZodMiniOptional>; shopId: z.ZodMiniOptional>; }, z.core.$strip>; declare const ShopConfigSchema: z.ZodMiniObject<{ idp: z.ZodMiniOptional; idpKeys: z.ZodMiniArray>; idpRedirectURL: z.ZodMiniString; }, z.core.$strip>>; shopId: z.ZodMiniNumber; path: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; locale: z.ZodMiniString; auth: z.ZodMiniObject<{ resetPasswordUrl: z.ZodMiniString; }, z.core.$strip>; currency: z.ZodMiniString; checkout: z.ZodMiniObject<{ token: z.ZodMiniString; secret: z.ZodMiniString; host: z.ZodMiniURL; user: z.ZodMiniUnion, z.ZodMiniNumber]>; cbdExpiration: z.ZodMiniOptional>; shopId: z.ZodMiniOptional>; }, z.core.$strip>; appKeys: z.ZodMiniOptional; basketKey: z.ZodMiniString; hashAlgorithm: z.ZodMiniEnum<{ none: "none"; md5: "md5"; sha256: "sha256"; }>; }, z.core.$strip>>; currencyFractionDigits: z.ZodMiniOptional>; isEnabled: z.ZodMiniOptional>; sessionConfig: z.ZodMiniOptional>; maxAge: z.ZodMiniOptional>; cookieName: z.ZodMiniOptional>; secret: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; }, z.core.$strip>>; sapi: z.ZodMiniOptional; }, z.core.$strip>>; storage: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; cache: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; }, z.core.$strip>>; isDefault: z.ZodMiniOptional, z.ZodMiniString]>>; }, z.core.$strip>; declare const ShopSelectorSchema: z.ZodMiniEnum<{ domain: "domain"; path: "path"; path_or_default: "path_or_default"; }>; type ShopConfigType = z.infer; declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{ shopSelector: z.ZodMiniEnum<{ domain: "domain"; path: "path"; path_or_default: "path_or_default"; }>; redirects: z.ZodMiniOptional; queryParamWhitelist: z.ZodMiniOptional>>; strategy: z.ZodMiniOptional>; }, z.core.$strip>>; shops: z.ZodMiniRecord, z.ZodMiniObject<{ idp: z.ZodMiniOptional; idpKeys: z.ZodMiniArray>; idpRedirectURL: z.ZodMiniString; }, z.core.$strip>>; shopId: z.ZodMiniNumber; path: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; locale: z.ZodMiniString; auth: z.ZodMiniObject<{ resetPasswordUrl: z.ZodMiniString; }, z.core.$strip>; currency: z.ZodMiniString; checkout: z.ZodMiniObject<{ token: z.ZodMiniString; secret: z.ZodMiniString; host: z.ZodMiniURL; user: z.ZodMiniUnion, z.ZodMiniNumber]>; cbdExpiration: z.ZodMiniOptional>; shopId: z.ZodMiniOptional>; }, z.core.$strip>; appKeys: z.ZodMiniOptional; basketKey: z.ZodMiniString; hashAlgorithm: z.ZodMiniEnum<{ none: "none"; md5: "md5"; sha256: "sha256"; }>; }, z.core.$strip>>; currencyFractionDigits: z.ZodMiniOptional>; isEnabled: z.ZodMiniOptional>; sessionConfig: z.ZodMiniOptional>; maxAge: z.ZodMiniOptional>; cookieName: z.ZodMiniOptional>; secret: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; }, z.core.$strip>>; sapi: z.ZodMiniOptional; }, z.core.$strip>>; storage: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; cache: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; }, z.core.$strip>>; isDefault: z.ZodMiniOptional, z.ZodMiniString]>>; }, z.core.$strip>>; session: z.ZodMiniOptional>; maxAge: z.ZodMiniOptional>; cookieName: z.ZodMiniOptional>; secret: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; }, z.core.$strip>>; storage: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; cache: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; }, z.core.$strip>>; oauth: z.ZodMiniObject<{ apiHost: z.ZodMiniURL; clientId: z.ZodMiniUnion, z.ZodMiniString]>; clientSecret: z.ZodMiniString; }, z.core.$strip>; appKeys: z.ZodMiniObject<{ wishlistKey: z.ZodMiniString; basketKey: z.ZodMiniString; hashAlgorithm: z.ZodMiniEnum<{ none: "none"; md5: "md5"; sha256: "sha256"; }>; }, z.core.$strip>; cache: z.ZodMiniOptional; password: z.ZodMiniString; }, z.core.$strip>>; enabled: z.ZodMiniOptional>; }, z.core.$strip>>; publicShopData: z.ZodMiniOptional>>; idp: z.ZodMiniOptional; idpKeys: z.ZodMiniArray>; idpRedirectURL: z.ZodMiniString; }, z.core.$strip>>; sapi: z.ZodMiniObject<{ host: z.ZodMiniURL; token: z.ZodMiniString; }, z.core.$strip>; legacy: z.ZodMiniOptional>; }, z.core.$strip>>; internalAccessHeader: z.ZodMiniOptional>; }, z.core.$strip>; declare const StorefrontPublicRuntimeConfigSchema: z.ZodMiniObject<{ log: z.ZodMiniObject<{ name: z.ZodMiniString; level: z.ZodMiniType>; json: z.ZodMiniOptional>; output: z.ZodMiniDefault>; }, z.core.$strip>; legacy: z.ZodMiniOptional>; }, z.core.$strip>>; rpcDefaultLazy: z.ZodMiniOptional>; }, z.core.$strip>; export declare const RuntimeConfigSchema: z.ZodMiniObject<{ storefront: z.ZodMiniObject<{ shopSelector: z.ZodMiniEnum<{ domain: "domain"; path: "path"; path_or_default: "path_or_default"; }>; redirects: z.ZodMiniOptional; queryParamWhitelist: z.ZodMiniOptional>>; strategy: z.ZodMiniOptional>; }, z.core.$strip>>; shops: z.ZodMiniRecord, z.ZodMiniObject<{ idp: z.ZodMiniOptional; idpKeys: z.ZodMiniArray>; idpRedirectURL: z.ZodMiniString; }, z.core.$strip>>; shopId: z.ZodMiniNumber; path: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; locale: z.ZodMiniString; auth: z.ZodMiniObject<{ resetPasswordUrl: z.ZodMiniString; }, z.core.$strip>; currency: z.ZodMiniString; checkout: z.ZodMiniObject<{ token: z.ZodMiniString; secret: z.ZodMiniString; host: z.ZodMiniURL; user: z.ZodMiniUnion, z.ZodMiniNumber]>; cbdExpiration: z.ZodMiniOptional>; shopId: z.ZodMiniOptional>; }, z.core.$strip>; appKeys: z.ZodMiniOptional; basketKey: z.ZodMiniString; hashAlgorithm: z.ZodMiniEnum<{ none: "none"; md5: "md5"; sha256: "sha256"; }>; }, z.core.$strip>>; currencyFractionDigits: z.ZodMiniOptional>; isEnabled: z.ZodMiniOptional>; sessionConfig: z.ZodMiniOptional>; maxAge: z.ZodMiniOptional>; cookieName: z.ZodMiniOptional>; secret: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; }, z.core.$strip>>; sapi: z.ZodMiniOptional; }, z.core.$strip>>; storage: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; cache: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; }, z.core.$strip>>; isDefault: z.ZodMiniOptional, z.ZodMiniString]>>; }, z.core.$strip>>; session: z.ZodMiniOptional>; maxAge: z.ZodMiniOptional>; cookieName: z.ZodMiniOptional>; secret: z.ZodMiniOptional, z.ZodMiniArray>]>>; domain: z.ZodMiniOptional>; }, z.core.$strip>>; storage: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; cache: z.ZodMiniOptional; compression: z.ZodMiniOptional>; url: z.ZodMiniOptional; token: z.ZodMiniOptional>; host: z.ZodMiniOptional>; port: z.ZodMiniOptional>; username: z.ZodMiniOptional>; password: z.ZodMiniOptional>; tls: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ driver: z.ZodMiniLiteral<"scayleKv">; compression: z.ZodMiniOptional>; ttl: z.ZodMiniOptional>; disableClusterMode: z.ZodMiniOptional>; }, z.core.$strip>], "driver">>; }, z.core.$strip>>; oauth: z.ZodMiniObject<{ apiHost: z.ZodMiniURL; clientId: z.ZodMiniUnion, z.ZodMiniString]>; clientSecret: z.ZodMiniString; }, z.core.$strip>; appKeys: z.ZodMiniObject<{ wishlistKey: z.ZodMiniString; basketKey: z.ZodMiniString; hashAlgorithm: z.ZodMiniEnum<{ none: "none"; md5: "md5"; sha256: "sha256"; }>; }, z.core.$strip>; cache: z.ZodMiniOptional; password: z.ZodMiniString; }, z.core.$strip>>; enabled: z.ZodMiniOptional>; }, z.core.$strip>>; publicShopData: z.ZodMiniOptional>>; idp: z.ZodMiniOptional; idpKeys: z.ZodMiniArray>; idpRedirectURL: z.ZodMiniString; }, z.core.$strip>>; sapi: z.ZodMiniObject<{ host: z.ZodMiniURL; token: z.ZodMiniString; }, z.core.$strip>; legacy: z.ZodMiniOptional>; }, z.core.$strip>>; internalAccessHeader: z.ZodMiniOptional>; }, z.core.$strip>; public: z.ZodMiniObject<{ storefront: z.ZodMiniObject<{ log: z.ZodMiniObject<{ name: z.ZodMiniString; level: z.ZodMiniType>; json: z.ZodMiniOptional>; output: z.ZodMiniDefault>; }, z.core.$strip>; legacy: z.ZodMiniOptional>; }, z.core.$strip>>; rpcDefaultLazy: z.ZodMiniOptional>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; declare const ModuleOptionSchema: z.ZodMiniObject<{ rpcDir: z.ZodMiniOptional>; rpcMethodNames: z.ZodMiniOptional>>; rpcMethodOverrides: z.ZodMiniOptional>>; apiBasePath: z.ZodMiniOptional>; }, z.core.$strip>; type CheckoutShopConfigType = z.infer; type SessionType = z.infer; type StorageType = z.infer; type SapiConfigType = z.infer; type StorefrontRuntimeConfigType = z.infer & { /** * Default `with` parameters for Storefront API requests. These are used as defaults * within composables like `useWishlist` and can be overridden if needed. * Some composables also enforce minimum "with" parameters. * * @example * // Default `with` parameters for product listings. * withParams: { * items: { * product: { * attributes: "all", * advancedAttributes: "all", * variants: { * attributes: "all", * advancedAttributes: "all", * }, * images: "all", * categories: { * properties: "all" * }, * priceRange: boolean * }, * variant: { * attributes: "all", * }, * }, * } * @see https://scayle.dev/en/core-documentation/storefront-guide/support-and-resources/upgrade-guides/migrate-to-storefront-v8 */ withParams?: WithParams; }; type ShopSelectorType = z.infer; type RedirectType = z.infer; type IdpType = z.infer; type StorefrontPublicRuntimeConfigType = z.infer; export type ModuleOptionType = z.infer; export type { CheckoutShopConfigType, SessionType, StorageType, SapiConfigType, ShopSelectorType, ShopConfigType, StorefrontRuntimeConfigType, RedirectType, StorefrontPublicRuntimeConfigType, IdpType, };