/opt/canhelp/node_modules/better-auth/dist/crypto
Edit: /opt/canhelp/node_modules/better-auth/dist/crypto/jwt.d.mts (660B)
import { SecretConfig } from "./index.mjs";
//#region src/crypto/jwt.d.ts
declare function signJWT(payload: any, secret: string, expiresIn?: number): Promise
;
declare function verifyJWT(token: string, secret: string): Promise;
declare function symmetricEncodeJWT>(payload: T, secret: string | SecretConfig, salt: string, expiresIn?: number): Promise;
declare function symmetricDecodeJWT(token: string, secret: string | SecretConfig, salt: string): Promise;
//#endregion
export { signJWT, symmetricDecodeJWT, symmetricEncodeJWT, verifyJWT };
//# sourceMappingURL=jwt.d.mts.map