import { type Result, type BaseError } from "@webiny/feature/api"; import type { IWebhookSignPayloadHeaders } from "../WebhookSignPayload/abstractions.js"; export interface IWebhookVerifyPayload { verify(rawBody: string | Buffer, headers: IWebhookSignPayloadHeaders, secret: string): Promise>; } /** Verifies incoming webhook payloads using the Standard Webhooks spec (https://www.standardwebhooks.com). */ export declare const WebhookVerifyPayload: import("@webiny/di").Abstraction; export declare namespace WebhookVerifyPayload { type Interface = IWebhookVerifyPayload; type Headers = IWebhookSignPayloadHeaders; }