import { Middleware } from "@feathersjs/hooks"; import { Context, Tools } from "@microsoft/teamsfx-api"; export declare let TOOLS: Tools; export declare let Locale: string | undefined; export declare function setTools(tools: Tools): void; export declare function setLocale(locale?: string): void; declare class GlobalVars { isVS?: boolean; teamsAppId: string; m365TenantId: string; trackingId?: string; ymlFilePath?: string; envFilePath?: string; stage: string; source: ExternalSource; component: string; method: string; } export declare const globalVars: GlobalVars; export interface ErrorContextOption { component?: string; source?: ExternalSource; stage?: string; method?: string; reset?: boolean; } export declare function ErrorContextMW(option: ErrorContextOption): Middleware; export declare function resetErrorContext(): void; export declare function setErrorContext(option: ErrorContextOption): void; export declare type ExternalSource = "Graph" | "Azure" | "Teams" | "BotFx" | "SPFx" | "DevTools" | "M365" | ""; export declare function createContext(): Context; export declare const AadSet: Set; export {}; //# sourceMappingURL=globalVars.d.ts.map