import { Request, Response } from "express"; export default function (id: string, secret: string): (req: Request, res: Response) => Promise> | undefined>;