export declare class AuthToken { tokenId: string; tokenSecret: string; device?: string; constructor(tokenId: string, tokenSecret: string); } export declare type AuthConsumer = (jwt: string) => Promise; export declare type AuthFuncSimple = (opts: any) => string | Promise; export declare type AuthFuncWithCallback = (opts: any, callback: AuthConsumer) => void; export declare type AuthType = AuthToken | AuthFuncSimple | AuthFuncWithCallback | string;