import type { Request, Response, NextFunction } from "express";
/** True when a hashed password is configured. */
export declare function isPasswordConfigured(): boolean;
export declare function loginHandler(req: Request, res: Response): Promise<Response<any, Record<string, any>> | undefined>;
export declare function logoutHandler(_req: Request, res: Response): void;
export declare function checkAuthHandler(req: Request, res: Response): Response<any, Record<string, any>> | undefined;
export declare function changePasswordHandler(req: Request, res: Response): Promise<Response<any, Record<string, any>> | undefined>;
export declare function requireAuth(req: Request, res: Response, next: NextFunction): void | Response<any, Record<string, any>>;
//# sourceMappingURL=auth.d.ts.map