UNPKG

next-actuator

Version:

A fully composable actuator implementation for Next.js projects

4 lines (3 loc) 205 B
import type { NextRequest } from 'next/server'; import { type Metric } from '../types/metric'; export declare const handleMetric: (name: string, metric: Metric) => (req: NextRequest) => Promise<Response>;