1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 02:52:54 -05:00
denoland-deno/cli/bench/testdata/npm/hono/dist/utils/jwt/jwt.d.ts
2022-08-19 15:54:54 +05:30

7 lines
338 B
TypeScript

import { AlgorithmTypes } from './types';
export declare const sign: (payload: unknown, secret: string, alg?: AlgorithmTypes) => Promise<string>;
export declare const verify: (token: string, secret: string, alg?: AlgorithmTypes) => Promise<boolean>;
export declare const decode: (token: string) => {
header: any;
payload: any;
};