import { Event } from '../../../util/vs/base/common/event'; import { Disposable } from '../../../util/vs/base/common/lifecycle'; import type { CopilotToken } from './copilotToken'; export declare const ICopilotTokenStore: import("../../../util/common/services").ServiceIdentifier; /** * A simple store that holds the Copilot Token. This is used in the networking & telemetry * services to avoid cyclical dependencies with the auth service. * @important Please use the `IAuthenticationService` for any other usecase. */ export interface ICopilotTokenStore { readonly _serviceBrand: undefined; copilotToken: CopilotToken | undefined; onDidStoreUpdate: Event; } export declare class CopilotTokenStore extends Disposable implements ICopilotTokenStore { readonly _serviceBrand: undefined; private _copilotToken; private readonly _onDidStoreUpdate; onDidStoreUpdate: Event; get copilotToken(): CopilotToken | undefined; set copilotToken(token: CopilotToken | undefined); } //# sourceMappingURL=copilotTokenStore.d.ts.map