// Generated by dts-bundle-generator v9.5.1 import * as Data from 'effect/Data'; import * as Effect from 'effect/Effect'; import * as LogLevel from 'effect/LogLevel'; import { ParseError } from 'effect/ParseResult'; import * as Schema from 'effect/Schema'; export type Type = Schema.Schema.Type; declare const Type: Schema.Literal<[ "Cart", "Collection", "Customer", "DeliveryCarrierService", "DeliveryLocationGroup", "DeliveryProfile", "DeliveryZone", "DraftOrder", "DraftOrderLineItem", "Duty", "EmailTemplate", "Fulfillment", "FulfullmentEvent", "FullfullmentService", "InventoryItem", "InventoryLevel", "LineItem", "Location", "MarketingEvent", "MediaImage", "Metafield", "OnlineStoreArticle", "OnlineStoreBlog", "OnlineStorePage", "Order", "OrderTransaction", "Product", "ProductImage", "ProductVariant", "Refund", "Shop", "StaffMember", "Theme" ]>; export type GID = Schema.Schema.Encoded; declare const GID: Schema.filter; export type ID = Schema.Schema.Encoded; declare const ID: Schema.Union<[ typeof Schema.Number, typeof Schema.NumberFromString, typeof Schema.String ]>; export type FormatOptions = { id: T; type: R; }; declare const format: ({ id, type, }: FormatOptions) => Effect.Effect<`gid://shopify/${R}/${T}`, ParseError, never>; declare const parse: (input: string) => Effect.Effect; export interface IShopifyRoutes { readonly account_addresses_url: string; readonly account_login_url: string; readonly account_logout_url: string; readonly account_recover_url: string; readonly account_register_url: string; readonly account_url: string; readonly all_products_collection_url: string; readonly product_url: string; readonly products_url: string; readonly cart_add_url: string; readonly cart_change_url: string; readonly cart_clear_url: string; readonly cart_update_url: string; readonly cart_url: string; readonly collections_url: string; readonly predictive_search_url: string; readonly product_recommendations_url: string; readonly root_url: string; readonly search_url: string; readonly storefront_login_url: string; } export interface IStorefrontClientConfig { readonly accessToken: string; readonly shopName: string; apiVersion: string; } declare const Defaults: IShopifyRoutes; declare class ShopifyRoutes extends Data.Class { constructor(); } declare const make: () => ShopifyRoutes; declare class StorefrontClientConfig extends Data.Class { constructor(); } declare const make$1: () => StorefrontClientConfig; export type Input = typeof Input; declare const Input: Schema.Struct<{ sections: Schema.optional, typeof Schema.String>>; sections_url: Schema.optional; }>; export type UniqueKeys = T extends `${infer K},${infer Rest}` ? K | UniqueKeys : T; declare function makeResponseSchema(input: T): Schema.Record$, UniqueKeys, never>, Schema.NullOr, never>>>; declare const filterLevelOrNever: (level: LogLevel.LogLevel, effect: Effect.Effect) => Effect.Effect; declare const makeNamespacedLogSpan: (prefix: string) => (label: string) => (effect: Effect.Effect) => Effect.Effect; declare namespace StorefrontClientConfig$1 { export { StorefrontClientConfig, make$1 as make }; } declare namespace ShopifyRoutes$1 { export { Defaults, ShopifyRoutes, make }; } declare namespace Window$1 { export { ShopifyRoutes$1 as ShopifyRoutes, StorefrontClientConfig$1 as StorefrontClientConfig }; } declare namespace Sections { export { Input, makeResponseSchema }; } declare namespace Logging { export { filterLevelOrNever, makeNamespacedLogSpan }; } declare namespace Resource { export { GID, ID, Type, format, parse }; } declare namespace Ajax { export { Sections, Window$1 as Window }; } export { Ajax, Logging, Resource, }; export {};