/**
 * Enables tracking of unhandled JavaScript errors.
 * @param unique track only unique errors
 */
export declare function enableJSErrorTracking(unique?: boolean): void;
/**
 * Attempts to send error tracking request using same format as native errors caught by enableJSErrorTracking().
 * Such error request will still follow rules set for tracker, so it will be sent only when JS error tracking is enabled
 * ({@link enableJSErrorTracking} function was called before this attempt). It will also respect rules for tracking only unique errors.
 */
export declare function trackError(error: Error): void;
