summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/npm/hono/dist/utils/jwt/jwt.d.ts
blob: 46aba49e5ab1bff46a45577e76eca8e954b36a9d (plain)
1
2
3
4
5
6
7
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;
};