import type { RadarError } from './errors'; import type { RadarOptions } from './types'; /** global SDK configuration singleton */ declare class Config { /** current SDK options */ static options: RadarOptions; /** registered error callback, if any */ static errorCallback: ((error: RadarError) => void) | null; /** default option values applied during initialization */ static defaultOptions: { live: boolean; logLevel: string; host: string; version: string; debug: boolean; }; /** store SDK options (called by Radar.initialize) */ static setup(options?: RadarOptions): void; /** get the current SDK options */ static get(): RadarOptions; /** clear all SDK options and error callback */ static clear(): void; /** register a callback invoked on SDK errors */ static onError(callback: (error: RadarError) => void): void; /** dispatch an error to the registered callback */ static sendError(error: any): void; /** build standard Radar request headers (Authorization, Device-Type, SDK-Version). * Callers must ensure credentials are set before calling (e.g. via Radar.initialize). * */ static getDefaultHeaders(): Record; } export default Config;