UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

9 lines • 411 B
import { SessionPassword } from "./session.js"; //#region src/server/iron.d.ts export interface SealOptions { /** Milliseconds; `0` for no expiry. */ ttl?: number; } export declare function seal(value: unknown, password: SessionPassword, options?: SealOptions): Promise<string>; export declare function unseal(sealed: string, password: SessionPassword, options?: SealOptions): Promise<unknown>; //#endregion