UNPKG

348 BTypeScriptView Raw
1import type { EmitterWebhookEventWithStringPayloadAndSignature, State } from "./types.js";
2import type { EventHandler } from "./event-handler/index.js";
3export declare function verifyAndReceive(state: State & {
4 secret: string;
5 eventHandler: EventHandler<unknown>;
6}, event: EmitterWebhookEventWithStringPayloadAndSignature): Promise<void>;