import { VkrunJwt } from "../types"; /** * @function jwt * * This function is used to generate tokens and decrypt them, and can be customized with various * configurations such as secret keys and expiration times. * * **Usage:** * - You can call this function to create a new instance of the `JwtSetup` class, which contains the * methods `encrypt` and `decrypt` to handle JWT tokens. * * @returns {VkrunJwt} - Returns an instance of the `JwtSetup` class, which implements the `VkrunJwt` interface. * * @example * const data = { id: 123, name: 'John Doe' } * const config = { secretKey: 'your-secret-key-SHA256', expiresIn: '1h' } * const token = jwt().encrypt(data, config) * console.log(token) // token string */ export declare const jwt: () => VkrunJwt;