/** * Logger utility — logs in dev, and always fires matesLogEvent so that * mates-devtools can capture user logs regardless of environment. */ export type { MatesLogEventDetail } from "./logEvent"; export { matesLogEvent } from "./logEvent"; /** Deep-clone a value with structuredClone; falls back to the original if not cloneable. */ export declare function safeClone(value: T): T; /** * Log a message + optional data. * Always fires matesLogEvent (captured by devtools). * Prints to console only in dev/localhost. * * @example * log("User clicked", { id: 42 }); */ export declare function log(message: unknown, data?: unknown): void; /** * Log an error + optional context. * Always fires matesLogEvent (captured by devtools). * Prints to console only in dev/localhost. * * @example * logError("Fetch failed", error); */ export declare function logError(error: unknown, context?: unknown): void; /** * Log a warning + optional data. * Always fires matesLogEvent (captured by devtools). * Prints to console only in dev/localhost. */ export declare function logWarning(message: unknown, data?: unknown): void; //# sourceMappingURL=logger.d.ts.map