UNPKG

payload

Version:

Node, React, Headless CMS and Application Framework built on Next.js

13 lines 476 B
import type { SanitizedCollectionConfig } from '../../../collections/config/types.js'; import type { PayloadRequest } from '../../../types/index.js'; type Args = { collection: SanitizedCollectionConfig; password: string; req: PayloadRequest; }; export declare const generatePasswordSaltHash: ({ collection, password: passwordToSet, req, }: Args) => Promise<{ hash: string; salt: string; }>; export {}; //# sourceMappingURL=generatePasswordSaltHash.d.ts.map