import { ConsoleLogLevel, SdkLogger } from '@crossmint/common-sdk-base'; /** * Initialize the SDK logger for the React Base SDK * Should be called once when the SDK is initialized (typically in CrossmintProvider) * This handles browser-specific Datadog sink initialization * * Note: This implementation uses HTTP API directly to send logs to Datadog, * completely bypassing the Datadog browser SDK. This ensures complete * isolation from any client-side Datadog initialization, allowing both * instances to coexist without conflicts. * * @param apiKey - API key to determine environment (development/staging/production) and project ID * @param packageName - Name of the package using the logger * @param packageVersion - Version of the package using the logger * @param consoleLogLevel - Minimum log level for console output (or "silent" to suppress all output). Defaults to "debug" for backward compatibility * @returns The initialized logger instance */ declare function initReactLogger(apiKey: string, packageName: string, packageVersion: string, consoleLogLevel?: ConsoleLogLevel): SdkLogger; export { initReactLogger };