import type { Context as LambdaContext, SNSEvent } from "@webiny/aws-sdk/types/index.js"; import { Plugin } from "@webiny/plugins/Plugin.js"; import type { Context, Reply, Request } from "@webiny/handler/types.js"; export interface SNSEventHandlerCallableParams { request: Request; reply: Reply; context: Context; event: SNSEvent; lambdaContext: LambdaContext; next: () => Promise; } export interface SNSEventHandlerCallable { (params: SNSEventHandlerCallableParams): Promise; } export declare class SNSEventHandler extends Plugin { static type: string; readonly cb: SNSEventHandlerCallable; constructor(cb: SNSEventHandlerCallable); } export declare const createEventHandler: (cb: SNSEventHandlerCallable) => SNSEventHandler;