import type { OneSubConfig } from '@onesub/shared'; /** * Logger used throughout the SDK. Wraps the host-provided `config.logger` * (or `console` if omitted) and adds a `trace` level that's a no-op unless * `config.debug === true`. Every call is tagged with `[onesub]` so host-app * logs stay greppable. * * `trace` is intended for lifecycle breadcrumbs (IAP connection, listener * events, in-flight matches, validation requests/responses, finishTransaction * calls). `info` / `warn` / `error` are production-safe. */ export interface SdkLogger { trace(...args: unknown[]): void; info(...args: unknown[]): void; warn(...args: unknown[]): void; error(...args: unknown[]): void; } export declare function createSdkLogger(config: Pick): SdkLogger; //# sourceMappingURL=logger.d.ts.map