1 | import { IBrontosaurusBody } from "@brontosaurus/definition";
|
2 | import { BrontosaurusKey } from "./crypto";
|
3 | export declare class BrontosaurusSign {
|
4 | static create(key: string, body: IBrontosaurusBody, secret: BrontosaurusKey): BrontosaurusSign;
|
5 | private readonly _key;
|
6 | private readonly _body;
|
7 | private readonly _secret;
|
8 | private constructor();
|
9 | readonly body: IBrontosaurusBody;
|
10 | token(expireAt?: number, issuedAt?: number): string;
|
11 | }
|