import { IAuthentication, ICredentials } from './IAuthentication.js';
import { IFetchOptions } from './IFetchOptions.js';
export declare class BearerAuth implements IAuthentication {
    private logoutUrl;
    constructor(token?: string);
    getFetchOptions(options: IFetchOptions): IFetchOptions;
    updateCredentials({ token }: ICredentials): undefined;
    getCometdHandshake(config?: {
        ext?: any;
    }): {
        ext?: any;
    };
    logout(options?: IFetchOptions): Promise<any>;
    protected getToken(): string | undefined;
}
//# sourceMappingURL=BearerAuth.d.ts.map