import type { Context } from 'koa'; import type { StrapiContext } from '../@types'; /** * Webhook Controller * * All incoming Shopify webhook requests are validated using the shop's `apiSecretKey` (HMAC signature) * via Shopify's official SDK. Only requests with a valid signature are processed; all others are rejected. */ declare const getWebhookController: ({ strapi }: StrapiContext) => { /** * Handles incoming Shopify webhook requests. * Validates the request signature using the shop's apiSecretKey (Shopify SDK). * Only valid, signed requests are processed. */ handleWebhook(ctx: Context): Promise<{}>; }; export default getWebhookController;