import { Observable } from "rxjs"; import { ICredentials } from "./models/credentials"; import { IRpcClient } from "./rpc"; export interface IAuthenticateOpts { username: string; password?: string; database?: string; sessionId?: string; } export interface IAuthenticateResult { endPoint: string; credentials: ICredentials; } export declare function authenticate(client: IRpcClient, opts: IAuthenticateOpts): Observable; export declare function optsToCredentials({ username, password, database, sessionId, }: IAuthenticateOpts): Partial; //# sourceMappingURL=authenticate.d.ts.map