import { aW as BrowserLogLevel } from './status-BC2Rl8KA.js'; export { aX as BrowserLogEntry, X as BrowserLogger, B as BrowserLoggerOption, Y as BrowserRequestError, Z as CheckoutController, _ as CheckoutControllerOptions, h as CheckoutSnapshot, j as CheckoutState, aY as CopyInvoiceOptions, aZ as GuestCheckoutResumeController, a_ as GuestCheckoutResumeOptions, a$ as OpenWalletOptions, b0 as PrepareCheckoutOptions, b1 as QrOptions, b2 as RequestCheckoutOptions, ar as Status, b3 as StatusInvoiceLike, U as UnixSeconds, aw as copyInvoice, ay as createCheckoutController, b4 as createGuestCheckoutResume, b5 as createGuestOrderFetcher, b6 as createLightningUri, b7 as createQrPngDataUrl, aD as createQrSvg, aJ as deriveStatus, aK as enterCheckoutResumePath, aS as openWallet, aU as prepareCheckout, aV as requestCheckout } from './status-BC2Rl8KA.js'; import '@openreceive/provider-data'; import '@openreceive/core'; type ConsoleTarget = Pick; interface CreateBrowserConsoleLoggerOptions { /** Prefix before the event, e.g. `openreceive:my-app:client`. Default `openreceive`. */ readonly prefix?: string; /** * Minimum level to emit. Default: `LOG_LEVEL` from the environment, or `info`. * Accepts the same values as `LOG_LEVEL` (`DEBUG` | `INFO` | `WARN` | `ERROR`). */ readonly minLevel?: BrowserLogLevel | string; readonly console?: ConsoleTarget; /** Clock for the leading ISO timestamp. Default `() => new Date()`. */ readonly now?: () => Date; } type AppBrowserConsoleLogger = (event: string, message: string, fields?: Record, level?: BrowserLogLevel) => void; interface CreateAppBrowserConsoleLoggerOptions { readonly prefix: string; /** * Minimum level to emit. Default: `LOG_LEVEL` from the environment, or `info`. */ readonly minLevel?: BrowserLogLevel | string; readonly console?: ConsoleTarget; readonly now?: () => Date; } /** Ad-hoc `(event, message, fields?, level?)` console logger for host browser apps. */ declare function createAppBrowserConsoleLogger(options: CreateAppBrowserConsoleLoggerOptions): AppBrowserConsoleLogger; export { type AppBrowserConsoleLogger, BrowserLogLevel, type CreateAppBrowserConsoleLoggerOptions, type CreateBrowserConsoleLoggerOptions, createAppBrowserConsoleLogger };