/** * Configuration for the detect handler. */ export interface DetectHandlerConfig { /** Check auth/permission — return null if OK, or a Response to deny */ checkAuth?: (req: Request) => Promise; /** Check if face recognition is enabled (default: always true) */ isEnabled?: () => Promise; } /** * Factory for POST /api/face/detect * * Placeholder endpoint — face detection runs client-side via face-api.js. * This route exists for permission gating and future server-side detection. */ export declare function createDetectHandler(config?: DetectHandlerConfig): { POST: (req: Request) => Promise; }; //# sourceMappingURL=detect.route.d.ts.map