18 lines
647 B
TypeScript
18 lines
647 B
TypeScript
/**
|
|
* Password reset: request link by email and set new password with token.
|
|
*/
|
|
export declare function buildResetPasswordUrl(rawToken: string): string;
|
|
/**
|
|
* Sends reset link if account exists. Always returns generic success (no email enumeration).
|
|
*/
|
|
export declare function requestPasswordReset(email: string): Promise<{
|
|
message: string;
|
|
devResetUrl?: string;
|
|
}>;
|
|
export declare function resetPasswordWithToken(rawToken: string, newPassword: string): Promise<{
|
|
message: string;
|
|
}>;
|
|
export declare function validateResetToken(rawToken: string): Promise<{
|
|
valid: boolean;
|
|
}>;
|
|
//# sourceMappingURL=passwordResetService.d.ts.map
|