import { HttpClient } from '@angular/common/http';
import { MessageService } from 'ui-message-angular';
import { QueryObject } from './user';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class LogonService {
    private http;
    private messageService;
    private host;
    constructor(http: HttpClient, messageService: MessageService);
    setHost(host: string): void;
    logon(userid: string, password: string): Observable<any>;
    logout(): Observable<any>;
    session(): Observable<any>;
    /**
     * this method is called during logon component initialization. It tries to get the session,
     * but without raising any errors.
     */
    try_get_session(): Observable<any>;
    query(queryObject: QueryObject): Observable<any>;
    read(instanceGUID: string): Observable<any>;
    private handleError;
    static ɵfac: i0.ɵɵFactoryDeclaration<LogonService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<LogonService>;
}
