@microsoft/sp-webpart-base
Version:
SharePoint Framework support for building web parts
16 lines • 569 B
TypeScript
import type * as microsoftTeams from '@microsoft/teams-js-v2';
import type { ISDKs } from '../ISDKs';
/**
* Get and store teams context.
* @internal
*/
export declare class TeamsEnvironmentManager {
static sdkProvider?: Promise<ISDKs>;
private static _teamsContext;
private static _teamsJs;
static initialize(): Promise<void>;
static getTeamsSDK(): Promise<ISDKs>;
static getTeamsContext(): microsoftTeams.Context | undefined;
static getTeamsJs(): typeof microsoftTeams | undefined;
}
//# sourceMappingURL=TeamsEnvironmentManager.d.ts.map