import type { APIGatewayEvent, Context as LambdaContext } from "@webiny/aws-sdk/types/index.js"; import type { LambdaResponse } from "@fastify/aws-lambda"; import { createRoute, RoutePlugin } from "@webiny/handler"; import type { HandlerFactoryParams } from "../types.js"; export { RoutePlugin, createRoute }; export type HandlerParams = HandlerFactoryParams; export interface HandlerCallable { (event: APIGatewayEvent, ctx: LambdaContext): Promise; } export declare const createHandler: (params: HandlerParams) => HandlerCallable;