/**
 * This module was copied from https://github.com/honojs/hono/blob/master/src/utils/jwt/jwt.ts
 */
import '../../node-crypto-polyfill.js';
import type { OidcJwk } from '../auth.js';
import { AlgorithmTypes } from './types.js';
export declare const sign: (payload: unknown, secret: string, alg?: AlgorithmTypes, kid?: string) => Promise<string>;
export declare const verify: (token: string, secretOrJwk: string | OidcJwk, alg?: AlgorithmTypes, ignoreExpiration?: boolean) => Promise<boolean>;
export declare const decode: (token: string) => {
    header: {
        alg: AlgorithmTypes;
        kid: string;
        [key: string]: unknown;
    };
    payload: Record<string, unknown>;
};
//# sourceMappingURL=jwt.d.ts.map