import { RestClient } from "../lib/rest" ; export interface ForgotPasswordInput { email : string ; } export default function forgotPassword ( rest , input ) { return rest . fetch < void > ( "/auth/local/forgot" , { method : "POST" , body : input , } ) ; }