import { AuthenticationExt, Plugin as InternalPlugin } from '../common/plugin-api-rpc'; import { RPCProtocol } from '../common/rpc-protocol'; import { Event } from '@theia/core/lib/common/event'; import * as theia from '@theia/plugin'; export declare class AuthenticationExtImpl implements AuthenticationExt { private proxy; private authenticationProviders; private onDidChangeSessionsEmitter; readonly onDidChangeSessions: Event; constructor(rpc: RPCProtocol); getSession(requestingExtension: InternalPlugin, providerId: string, scopeListOrRequest: ReadonlyArray | theia.AuthenticationWwwAuthenticateRequest, options: theia.AuthenticationGetSessionOptions & ({ createIfNone: true; } | { forceNewSession: true; } | { forceNewSession: theia.AuthenticationForceNewSessionOptions; })): Promise; getSession(requestingExtension: InternalPlugin, providerId: string, scopeListOrRequest: ReadonlyArray | theia.AuthenticationWwwAuthenticateRequest, options: theia.AuthenticationGetSessionOptions & { forceNewSession: true; }): Promise; getSession(requestingExtension: InternalPlugin, providerId: string, scopeListOrRequest: ReadonlyArray | theia.AuthenticationWwwAuthenticateRequest, options: theia.AuthenticationGetSessionOptions & { forceNewSession: theia.AuthenticationForceNewSessionOptions; }): Promise; getSession(requestingExtension: InternalPlugin, providerId: string, scopeListOrRequest: ReadonlyArray | theia.AuthenticationWwwAuthenticateRequest, options: theia.AuthenticationGetSessionOptions): Promise; getAccounts(providerId: string): Thenable; registerAuthenticationProvider(id: string, label: string, provider: theia.AuthenticationProvider, options?: theia.AuthenticationProviderOptions): theia.Disposable; $createSession(providerId: string, scopes: string[], options: theia.AuthenticationProviderSessionOptions): Promise; $removeSession(providerId: string, sessionId: string): Promise; $getSessions(providerId: string, scopes: string[] | undefined, options: theia.AuthenticationProviderSessionOptions): Promise>; $onDidChangeAuthenticationSessions(provider: theia.AuthenticationProviderInformation): Promise; } //# sourceMappingURL=authentication-ext.d.ts.map