import { FastifyReply, FastifyRequest } from 'fastify'; export declare function register(req: FastifyRequest, reply: FastifyReply): Promise; export declare function unregister(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: boolean; }>; export declare function validatePassword(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: true; }>; export declare function changePassword(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: any; }>; export declare function forgotPassword(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: any; }>; export declare function confirmEmail(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: any; }>; export declare function resetPassword(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: any; user: any; }>; export declare function login(req: FastifyRequest, reply: FastifyReply): Promise; export declare function logout(_req: FastifyRequest, reply: FastifyReply): Promise<{ ok: boolean; }>; export declare function refreshToken(req: FastifyRequest, reply: FastifyReply): Promise<{ token: string; }>; export declare function invalidateTokens(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: any; }>; export declare function mfaSetup(req: FastifyRequest, reply: FastifyReply): Promise; export declare function mfaEnable(req: FastifyRequest, reply: FastifyReply): Promise<{ mfaEnabled: boolean; roles: (string | import("../../../../index.js").Role)[]; token: string; refreshToken: any; securityPolicy: { mfaPolicy: string; }; getId(): any; username: string; email: string; externalId: string; }>; export declare function mfaVerify(req: FastifyRequest, reply: FastifyReply): Promise; export declare function mfaDisable(req: FastifyRequest, reply: FastifyReply): Promise<{ ok: boolean; }>; //# sourceMappingURL=auth.d.ts.map