import { Data, Encodeable, EncodeContext } from '@simonbackx/simple-encoding'; /** * This is a custom encoded implementation since we need to follow the OAuth2 specification, which for some reason * returns a relative "expires_in" timestamp instead of an absolute value. */ export declare class Token implements Encodeable { accessToken: string; refreshToken: string; accessTokenValidUntil: Date; constructor(token: { accessToken: string; refreshToken: string; accessTokenValidUntil: Date; }); static decode(data: Data): Token; encode(_context: EncodeContext): any; needsRefresh(): boolean; } //# sourceMappingURL=Token.d.ts.map