import type { AuthenticatedRequest } from '@n8n/db'; import type { Response } from 'express'; import type { Middleware } from './middlewares/global.middleware'; type PublicAPIEndpointHandler = (req: TReq, res: Response) => Promise; export type PublicAPIEndpoint = readonly [ ...Middleware[], PublicAPIEndpointHandler ]; export {};