import { RequestHandler } from '@sveltejs/kit'; import { a9 as RouteFunction, aa as WorkflowServeOptions } from './client-BVG9vt90.js'; import 'neverthrow'; type VerifySignatureConfig = { currentSigningKey?: string; nextSigningKey?: string; clockTolerance?: number; }; declare const verifySignatureSvelte: > = Partial>, RouteId extends string | null = string | null>(handler: RequestHandler, config?: VerifySignatureConfig) => RequestHandler; /** * Serve method to serve a Upstash Workflow in a Nextjs project * * See for options https://upstash.com/docs/qstash/workflows/basics/serve * * @param routeFunction workflow function * @param options workflow options * @returns * * @deprecated as of version 2.7.17. Will be removed in qstash-js 3.0.0. * Please use https://github.com/upstash/workflow-js * Migration Guide: https://upstash.com/docs/workflow/migration */ declare const serve: (routeFunction: RouteFunction, options: Omit, "onStepFinish"> & { env: WorkflowServeOptions["env"]; }) => RequestHandler; export { serve, verifySignatureSvelte };