/opt/canhelp/node_modules/@better-auth/utils/dist
Edit: /opt/canhelp/node_modules/@better-auth/utils/dist/otp.d.ts (353B)
declare const createOTP: (secret: string, opts?: {
digits?: number;
period?: number;
}) => {
hotp: (counter: number) => Promise
;
totp: () => Promise;
verify: (otp: string, options?: {
window?: number;
}) => Promise;
url: (issuer: string, account: string) => string;
};
export { createOTP };