// Generated by dts-bundle-generator v9.5.1 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 ]>; export type FormatOptions = { id: T; type: R; }; declare const format: ({ id, type, }: FormatOptions) => Effect.Effect<`gid://shopify/${R}/${T}`, ParseError, never>; declare const parse: (i: string, overrideOptions?: import("effect/SchemaAST").ParseOptions) => Effect.Effect; export declare const parseResource: (gid: Resource.GID) => string; export type FormatResourceOptions = { id: T; type: R; }; export declare const formatResource: (options: FormatResourceOptions) => `gid://shopify/${R}/${T}`; type ID$1 = Resource.ID; type GID$1 = Resource.GID; type Type$1 = Resource.Type; declare namespace Resource { export { GID, ID, Type, format, parse }; } export { GID$1 as GID, ID$1 as ID, Type$1 as Type, }; export {};