import { IRequestHandler } from '../comm/http/IRequestHandler.js'; import { IAuthenticationHandler } from './IAuthenticationHandler.js'; import { ICookieStore } from '../comm/http/ICookieStore.js'; import { ServiceNowInstance } from '../sn/ServiceNowInstance.js'; import type { UserSession } from '@servicenow/sdk-cli-core/dist/auth/index.js'; export declare class NowSDKAuthenticationHandler implements IAuthenticationHandler { private readonly _instance; private _requestHandler; private _isLoggedIn; private _session; private _credentials; private _origin; private _pending; private _pinned; private _logger; constructor(_instance: ServiceNowInstance); doLogin(): Promise; ensureSession(force?: boolean): Promise; private login; pinSession(): void; getRequestHandler(): IRequestHandler; setRequestHandler(handler: IRequestHandler): void; isLoggedIn(): boolean; setLoggedIn(value: boolean): void; getToken(): string; getCookies(): ICookieStore; getSession(): UserSession | undefined; }