type AlertType = "memory" | "network";
type AlertCallback = (message: string, type: AlertType, meta?: Record<string, any>) => void;
/**
 * Registers a callback to be called when an alert condition is triggered.
 */
export declare const registerAlertHandler: (callback: AlertCallback) => void;
/**
 * Sets the memory threshold in MB
 */
export declare const setMemoryThreshold: (mb: number) => void;
/**
 * Sets the number of repeated calls allowed for the same URL before triggering a network alert
 */
export declare const setRepeatedNetworkThreshold: (count: number) => void;
/**
 * Tracks memory and alerts if threshold is exceeded
 */
export declare const checkMemoryUsage: () => void;
/**
 * Tracks network requests and triggers alert if a URL is hit repeatedly in a short time.
 */
export declare const trackNetworkRequest: (url: string) => void;
export {};
