UNPKG

next-actuator

Version:

A fully composable actuator implementation for Next.js projects

10 lines (9 loc) 451 B
import type { NextRequest } from 'next/server'; import type { NextActuatorConfig } from './types/next-actuator-config'; import type { Optional } from './types/optional'; export type { NextActuatorConfig }; export type { Component } from './types/component'; export type { Metric } from './types/metric'; export declare const createNextActuator: (actuatorConfig?: Optional<NextActuatorConfig>) => { GET: (req: NextRequest) => Promise<Response>; };