import { Core } from '@strapi/strapi'; import type { Context } from 'koa'; /** * Webhook Validator * * Validates incoming Shopify webhook requests using the shop's `apiSecretKey` (HMAC signature) * via Shopify's official SDK. Only requests with a valid signature are processed; all others are rejected. */ /** * Validates a Shopify product webhook request for a given vendor. * Uses the shop's apiSecretKey (Shopify SDK) to check the request signature. * Only valid, signed requests are processed. */ export declare const getUpdateProductValidator: (strapi: Core.Strapi, vendor: string, ctx: Context) => Promise | import("fp-ts/lib/Either").Right<{ result: import("@shopify/shopify-api").WebhookValidationValid; webhook: { id?: number; topic?: import("../@types/shopify").WebhookSubscriptionTopic.ProductsCreate | import("../@types/shopify").WebhookSubscriptionTopic.ProductsDelete | import("../@types/shopify").WebhookSubscriptionTopic.ProductsUpdate; format?: import("../@types/shopify").WebhookSubscriptionFormat.Json; callbackUrl?: string; createdAt?: string; updatedAt?: string; publishedAt?: string; locale?: string; method?: string; service?: string; documentId?: string; shopifyId?: string; errors?: string[]; }; }>>;