import { Event } from "../../../../base/common/event.js";
import { Disposable } from "../../../../base/common/lifecycle.js";
import { IProductService } from "../../../../platform/product/common/productService.service.js";
import { IAuthenticationService } from "../../authentication/common/authentication.service.js";
import { IRequestService } from "../../../../platform/request/common/request.service.js";
import { IExtensionService } from "../../extensions/common/extensions.service.js";
import { ILogService } from "../../../../platform/log/common/log.service.js";
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
import { IWorkbenchContribution } from "../../../common/contributions.js";
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
import { IDefaultAccount } from "../../../../base/common/defaultAccount.js";
import { IDefaultAccountService } from "./defaultAccount.service.js";
export declare const DEFAULT_ACCOUNT_SIGN_IN_COMMAND = "workbench.actions.accounts.signIn";
export declare class DefaultAccountService extends Disposable implements IDefaultAccountService {
    _serviceBrand: undefined;
    private _defaultAccount;
    get defaultAccount(): IDefaultAccount | null;
    private readonly initBarrier;
    private readonly _onDidChangeDefaultAccount;
    readonly onDidChangeDefaultAccount: Event<IDefaultAccount | null>;
    getDefaultAccount(): Promise<IDefaultAccount | null>;
    setDefaultAccount(account: IDefaultAccount | null): void;
}
export declare class NullDefaultAccountService extends Disposable implements IDefaultAccountService {
    _serviceBrand: undefined;
    readonly onDidChangeDefaultAccount: Event<any>;
    getDefaultAccount(): Promise<IDefaultAccount | null>;
    setDefaultAccount(account: IDefaultAccount | null): void;
}
export declare class DefaultAccountManagementContribution extends Disposable implements IWorkbenchContribution {
    private readonly defaultAccountService;
    private readonly configurationService;
    private readonly authenticationService;
    private readonly extensionService;
    private readonly productService;
    private readonly requestService;
    private readonly logService;
    static ID: string;
    private defaultAccount;
    private readonly accountStatusContext;
    constructor(defaultAccountService: IDefaultAccountService, configurationService: IConfigurationService, authenticationService: IAuthenticationService, extensionService: IExtensionService, productService: IProductService, requestService: IRequestService, logService: ILogService, contextKeyService: IContextKeyService);
    private initialize;
    private setDefaultAccount;
    private extractFromToken;
    private getDefaultAccountFromAuthenticatedSessions;
    private scopesMatch;
    private getTokenEntitlements;
    private getChatEntitlements;
    private getMcpRegistryProvider;
    private registerSignInAction;
}
