import type { AuthenticationGetSessionOptions, AuthenticationSession } from 'vscode'; import { IConfigurationService } from '../../configuration/common/configurationService'; import { ILogService } from '../../log/common/logService'; import { BaseAuthenticationService, IAuthenticationService, StrictAuthenticationPresentationOptions } from './authentication'; import { CopilotToken } from './copilotToken'; import { ICopilotTokenManager } from './copilotTokenManager'; import { ICopilotTokenStore } from './copilotTokenStore'; export declare class StaticGitHubAuthenticationService extends BaseAuthenticationService { private readonly tokenProvider; constructor(tokenProvider: { (): string; } | undefined, logService: ILogService, tokenStore: ICopilotTokenStore, tokenManager: ICopilotTokenManager, configurationService: IConfigurationService); get hasCopilotTokenSource(): boolean; getGitHubSession(kind: 'permissive' | 'any', options: AuthenticationGetSessionOptions & { createIfNone: StrictAuthenticationPresentationOptions; }): Promise; getGitHubSession(kind: 'permissive' | 'any', options: AuthenticationGetSessionOptions & { forceNewSession: StrictAuthenticationPresentationOptions; }): Promise; getGitHubSession(kind: 'permissive' | 'any', options: AuthenticationGetSessionOptions): Promise; getCopilotToken(force?: boolean): Promise; setCopilotToken(token: CopilotToken): void; getAnyAdoSession(_options?: AuthenticationGetSessionOptions): Promise; getAdoAccessTokenBase64(options?: AuthenticationGetSessionOptions): Promise; } export declare function setCopilotToken(authenticationService: IAuthenticationService, token: CopilotToken): void; //# sourceMappingURL=staticGitHubAuthenticationService.d.ts.map