import type { TAlgorithm } from "jwt-simple";
/**
 * jwt token has iat which is issued at unix timestamp, an optional exp for expiry,
 * an optional id as unique identifier, and an optional clv for client type/version
 */
export type JwtClaim = {
    iat: number;
    exp?: number;
    id?: string;
    clv?: string;
};
export declare function encodeJwtToken(claim: JwtClaim, jwtSecret: Buffer | Uint8Array | string, algorithm?: TAlgorithm): string;
export declare function decodeJwtToken(token: string, jwtSecret: Buffer | Uint8Array | string, algorithm?: TAlgorithm): JwtClaim;
//# sourceMappingURL=jwt.d.ts.map