import type { QueryAllCollectionsArgs, QueryAllProductsArgs, QueryCollectionArgs, QueryProductArgs, QuerySearchArgs, QuerySellersArgs, QueryShippingArgs, QueryRedirectArgs } from '../../../__generated__/schema'; import type { CategoryTree } from '../clients/commerce/types/CategoryTree'; import type { Context } from '../index'; import { SearchArgs } from '../clients/search'; export declare const Query: { product: (_: unknown, { locator }: QueryProductArgs, ctx: Context) => Promise; collection: (_: unknown, { slug }: QueryCollectionArgs, ctx: Context) => Promise; search: (_: unknown, { first, after: maybeAfter, sort, term, selectedFacets }: QuerySearchArgs, ctx: Context) => Promise<{ searchArgs: Omit; productSearchPromise: Promise; }>; allProducts: (_: unknown, { first, after: maybeAfter }: QueryAllProductsArgs, ctx: Context) => Promise<{ pageInfo: { hasNextPage: boolean; hasPreviousPage: boolean; startCursor: string; endCursor: string; totalCount: number; }; edges: { node: import("../utils/enhanceSku").EnhancedSku; cursor: string; }[]; }>; allCollections: (_: unknown, { first, after: maybeAfter }: QueryAllCollectionsArgs, ctx: Context) => Promise<{ pageInfo: { hasNextPage: boolean; hasPreviousPage: boolean; startCursor: string; endCursor: string; totalCount: number; }; edges: { node: { type: string; id: number; name: string; isActive: boolean; title: string; metaTagDescription: string; imageURL: string | null; } | (CategoryTree & { level: number; }); cursor: string; }[]; }>; shipping: (_: unknown, { country, items, postalCode }: QueryShippingArgs, ctx: Context) => Promise<{ address: import("../clients/commerce/types/Address").Address; items: import("../clients/commerce/types/Simulation").Item[]; ratesAndBenefitsData: import("../clients/commerce/types/Simulation").RatesAndBenefitsData; paymentData: import("../clients/commerce/types/Simulation").PaymentData; selectableGifts: any[]; marketingData: import("../clients/commerce/types/Simulation").MarketingData; postalCode: null; country: null; logisticsInfo: import("../clients/commerce/types/Simulation").LogisticsInfo[]; messages: any[]; purchaseConditions: import("../clients/commerce/types/Simulation").PurchaseConditions; pickupPoints: any[]; subscriptionData: null; totals: import("../clients/commerce/types/Simulation").Total[]; itemMetadata: null; }>; redirect: (_: unknown, { term, selectedFacets }: QueryRedirectArgs, ctx: Context) => Promise<{ url: string | undefined; } | null>; sellers: (_: unknown, { postalCode, geoCoordinates, country, salesChannel }: QuerySellersArgs, ctx: Context) => Promise<{ id: string; sellers: import("../clients/commerce/types/Region").Seller[]; }>; };