1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-19 05:45:09 -05:00
denoland-deno/cli/bench/testdata/npm/hono/dist/utils/jwt/jwt.d.ts

8 lines
338 B
TypeScript
Raw Normal View History

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;
};