import { IAuthentication, ICredentials } from './IAuthentication';
import { IFetchOptions } from './IFetchOptions';
/**
 * Allows to use Basic-Auth for Authorization to the
 * Cumulocity API.
 */
export declare class BasicAuth implements IAuthentication {
    user: string;
    /**
     * Authenticates the given user against the given tenant.
     * @param name
     * @param password
     * @param tenant
     */
    constructor(credentials?: ICredentials);
    updateCredentials({ tenant, user, password, token, tfa }?: ICredentials): string;
    getFetchOptions(options: IFetchOptions): IFetchOptions;
    getCometdHandshake(config?: {
        ext?: object;
    }): {
        ext?: object;
    };
    logout(): void;
    private getCookieValue;
}
//# sourceMappingURL=BasicAuth.d.ts.map