import { Got } from 'got'; export interface TokenOptions { clientId: string; secret: string; } export interface FlinksTokenResponse { HttpStatusCode?: string; Message?: string; FlinksCode?: string; access_token?: string; expires_in?: string; } export interface TokenResponse { httpStatusCode?: string; message?: string; flinksCode?: string; accessToken?: string; expiresIn?: number; } declare const token: (client: Got, options: TokenOptions, testing?: boolean) => Promise; export { token };