/** * Simple logger utility for the yak client SDK. * Debug/info logs are controlled by __YAK_LOGGING_ENABLED__. * Warnings and errors are always logged. * * Logging is controlled via: * 1. localStorage key "yakLogging" (persists across reloads) * 2. window.__YAK_LOGGING_ENABLED__ (runtime override) * * Use the helper functions to enable/disable: * enableYakLogging() - turns on logging, persists in localStorage * disableYakLogging() - turns off logging, clears localStorage */ /** * Check if Yak logging is currently enabled. * Useful for checking state before creating iframes. */ export declare function isYakLoggingEnabled(): boolean; /** * Enable Yak debug logging. * Persists in localStorage so it survives page reloads. * Call this from browser console: `enableYakLogging()` */ export declare function enableYakLogging(): void; /** * Disable Yak debug logging. * Clears localStorage and window flag. * Call this from browser console: `disableYakLogging()` */ export declare function disableYakLogging(): void; export declare const logger: { debug: (message: string, data?: unknown) => void; info: (message: string, data?: unknown) => void; warn: (message: string, data?: unknown) => void; error: (message: string, data?: unknown) => void; }; //# sourceMappingURL=logger.d.ts.map