@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
11 lines (10 loc) • 620 B
TypeScript
import { EDITOR_APPEARANCE_CONTEXT } from '@atlaskit/analytics-namespaced-context/FabricEditorAnalyticsContext';
export declare const getAnalyticsAppearance: (appearance?: string) => EDITOR_APPEARANCE_CONTEXT | undefined;
export declare const getAnalyticsEditorAppearance: (editorAppearance?: string) => string;
export declare const getAnalyticsEventSeverity: (duration: number, normalThreshold: number, degradedThreshold: number) => SEVERITY;
export declare enum SEVERITY {
NORMAL = "normal",
DEGRADED = "degraded",
BLOCKING = "blocking"
}
export declare const analyticsEventKey = "EDITOR_ANALYTICS_EVENT";