/** * The name of the default folder in the user's home directory where Rush stores user-specific data. * @public */ export declare const RUSH_USER_FOLDER_NAME: '.rush-user'; /** * @public */ export interface ICredentialCacheEntry { expires?: Date; credential: string; credentialMetadata?: object; } /** * @public */ export interface ICredentialCacheOptions { supportEditing: boolean; cacheFilePath?: string; } /** * @public */ export declare class CredentialCache implements Disposable { private readonly _cacheFilePath; private readonly _cacheEntries; private _modified; private _disposed; private readonly _supportsEditing; private readonly _lockfile; private constructor(); static initializeAsync(options: ICredentialCacheOptions): Promise; static usingAsync(options: ICredentialCacheOptions, doActionAsync: (credentialCache: CredentialCache) => Promise | void): Promise; setCacheEntry(cacheId: string, entry: ICredentialCacheEntry): void; tryGetCacheEntry(cacheId: string): ICredentialCacheEntry | undefined; deleteCacheEntry(cacheId: string): void; trimExpiredEntries(): void; saveIfModifiedAsync(): Promise; [Symbol.dispose](): void; dispose(): void; private _validate; } //# sourceMappingURL=CredentialCache.d.ts.map