import Config from './config';
import SecureStore from './secureStore';
import { Profile } from '../types';
import { SecretType } from './secretType';
export interface AuthOptions {
    secureStore: SecureStore;
}
export default class Auth {
    secureStore?: SecureStore;
    config: Config;
    constructor(options?: AuthOptions);
    getAuthorizationToken(): Promise<string | null | undefined>;
    createBasicAuthToken(user: string, secret: string, secretType?: SecretType): string;
    getLoggedInProfile(): Profile;
    setLoggedInProfile(subdomain: string, domain?: string): Promise<void>;
    loginInteractively(options?: Profile): Promise<boolean>;
    logout(): Promise<boolean>;
    getSavedProfiles(): Promise<import("../types").Credential[] | undefined>;
}
