import crypto from 'crypto'; import type { JwtBody, JwtHeader } from '../types'; export declare function encode(privateKey: crypto.KeyObject | Buffer | string | null, header: JwtHeader, body: JwtBody, privateKeyPassword?: string | null): string;