import { ApiResult } from "../common/api"; import { Token } from "./token"; export { Token }; export interface PasswordAuth { username: string; password: string; client_id?: string; client_secret?: string; } export declare function passwordAuth(options: PasswordAuth): Promise>; export declare function refreshAuth(): Promise>; export declare function apiKeyAuth(options: { secret: string; }): Promise>;