import { PlainObject } from '@xh/hoist/core'; export declare class Token { readonly value: string; readonly decoded: PlainObject; readonly expiry: number; constructor(value: string); expiresWithin(interval: number): boolean; get formattedExpiry(): string; get forLog(): PlainObject; equals(other: Token): boolean; }