import { w as TransportConfig } from "../types-B82IuY7M.mjs"; import { clearIdentity, log as _clientLog, setIdentity } from "../runtime/client/log.mjs"; import * as react from "react"; //#region src/next/client.d.ts interface MxllogProviderProps { /** * Service name for client-side logs. * @default 'client' */ service?: string; /** * Enable pretty printing in the browser console. * @default true */ pretty?: boolean; /** * Transport configuration for sending client logs to the server. */ transport?: TransportConfig; /** * Enable or disable client-side logging. * @default true */ enabled?: boolean; /** * Enable or disable browser console output. * When false, logs are suppressed in the browser DevTools console * but still sent to the server via transport (if enabled). * @default true */ console?: boolean; children: React.ReactNode; } /** * React provider that initializes mxllog client-side logging. * Place this in your root layout to enable client logging throughout your app. * * @example * ```tsx * // app/layout.tsx * import { MxllogProvider } from '@safaricom-mxl/log/next/client' * * export default function Layout({ children }) { * return ( * * {children} * * ) * } * ``` */ declare function MxllogProvider({ service, pretty, transport, enabled, console: consoleOutput, children }: MxllogProviderProps): react.ReactNode; //#endregion export { MxllogProvider, MxllogProviderProps, clearIdentity, _clientLog as log, setIdentity }; //# sourceMappingURL=client.d.mts.map