import { OutgoingHttpHeaders } from "http"; import type { NexusAppContext } from "./context.js"; export interface HandlerFunctionEvent { event_type?: string; payload: T; self_generated?: boolean; } export interface WebHookHandlerFunctionReturn { statusCode: number; headers?: OutgoingHttpHeaders; body?: unknown; } export interface HandlerFunction { (context: NexusAppContext, event: HandlerFunctionEvent): Promise; } //# sourceMappingURL=handler.d.ts.map