import { IBrontosaurusBody } from "@brontosaurus/definition"; import { BrontosaurusKey } from "./crypto"; import { BrontosaurusSign } from "./sign"; export declare class BrontosaurusToken { static withSecret(secret: BrontosaurusKey): BrontosaurusToken; static key(token: string): string | null; private readonly _secret; private constructor(); sign(key: string, body: IBrontosaurusBody): BrontosaurusSign; key(token: string): string | null; clock(token: string, offset: number, allowDelay?: number): boolean; body(token: string): IBrontosaurusBody | null; check(token: string): boolean; validate(token: string, offset: number): boolean; }