import { IServiceNowInstance } from "./IServiceNowInstance.js"; import type { CredentialProvider } from "../auth/CredentialProvider.js"; export interface ServiceNowSettingsInstance { host?: string; username?: string; alias?: string; isDefault?: boolean; password?: string; credential?: unknown; credentialProvider?: CredentialProvider; } export declare class ServiceNowInstance implements IServiceNowInstance { private _isDefault; private _host; private _username; private _alias; private _password; private _credential; readonly credentialProvider: CredentialProvider | undefined; private readonly _instanceId; constructor(snInstanceSettingsObj?: ServiceNowSettingsInstance | null); isDefault(): boolean; getHost(): string; getUserName(): string; getAlias(): string; getPassword(): string; get credential(): unknown; /** * Stable identity for this instance object, unique within the process. * * Used to tie a session to the instance it was minted for, so a request can * never be dispatched with another instance's credentials. Not persisted and * not meaningful across processes. */ getInstanceId(): number; }