UNPKG

naystack

Version:

A stack built with tight Next + Drizzle + GraphQL

13 lines (10 loc) 390 B
import * as next_server from 'next/server'; import { NextRequest } from 'next/server'; declare const setupThreadsWebhook: (options: { secret: string; callback: (type: string, value: any) => Promise<boolean>; }) => { GET: (req: NextRequest) => next_server.NextResponse<unknown> | undefined; POST: (req: NextRequest) => Promise<Response>; }; export { setupThreadsWebhook };