//#region src/utils/logger.d.ts interface Logger { debug(message: string): void; error(message: string): void; warn(message: string): void; info(message: string): void; } declare function getLogger(amplitude?: unknown): Logger; /** * Log a tracking failure once per error type. The message never includes * the error text, which can carry prompt or response content. */ declare function warnTrackingFailure(error: unknown): void; /** * Run instrumentation side effects so they can never fail the host's * provider call. Returns `undefined` when `fn` throws. */ declare function safeTrack(fn: () => T): T | undefined; /** Best-effort error text that never throws, even for hostile thrown values. */ declare function safeErrorMessage(error: unknown): string; /** @internal */ declare function _resetTrackingFailureWarningsForTests(): void; //#endregion export { Logger, _resetTrackingFailureWarningsForTests, getLogger, safeErrorMessage, safeTrack, warnTrackingFailure }; //# sourceMappingURL=logger.d.ts.map