import { HookContext, NextFunction } from '@feathersjs/feathers'; export interface HashPasswordOptions { authentication?: string; strategy?: string; } /** * @deprecated Use Feathers schema resolvers and the `passwordHash` resolver instead * @param field * @param options * @returns * @see https://dove.feathersjs.com/api/authentication/local.html#passwordhash */ export default function hashPassword(field: string, options?: HashPasswordOptions): (context: HookContext, next?: NextFunction) => Promise;