react-azure-config
Version:
🚀 The Ultimate Multi-App Configuration Library! CRITICAL BUG FIXES: Prefixed environment keys no longer sent to Azure. Complete architectural redesign with bulletproof fallback system. Enterprise-grade Azure integration and monorepo support.
31 lines • 1.09 kB
TypeScript
import type { UseAppInsightsReturn, AppInsightsConfig } from './types';
export declare const useAppInsights: () => UseAppInsightsReturn;
export declare const useTrackEvent: () => (eventName: string, properties?: {
[key: string]: any;
}) => void;
export declare const useTrackException: () => (error: Error, context?: {
[key: string]: any;
}) => void;
export declare const useTrackPageView: () => (pageName?: string, additionalProperties?: {
[key: string]: any;
}) => void;
export declare const useInsightsConfig: () => AppInsightsConfig & {
isConfigured: boolean;
isInitialized: boolean;
error: string | null;
};
export declare const useTrackPerformance: () => {
trackTiming: (name: string, duration: number, properties?: {
[key: string]: any;
}) => void;
createTimer: (name: string) => {
stop: (properties?: {
[key: string]: any;
}) => number;
};
trackCounter: (name: string, value?: number, properties?: {
[key: string]: any;
}) => void;
isReady: boolean;
};
//# sourceMappingURL=hooks.d.ts.map