/** * Opt-in verbose logging for Lit Actions. * * Production / IPFS builds should stay quiet: no message hashes, PKP material, * encoded blobs, or user signatures in logs unless explicitly enabled. * * Enable via (after jsParams merge onto globalThis): * - globalThis.debugAction === true (existing) * - globalThis.LIT_ACTION_DEBUG === true or "true" * - process.env.LIT_ACTION_DEBUG or process.env.DEBUG === "1" | "true" (Node/tests only) */ /** * Strip credentials and common API-key query params from URLs before logging. * (RPC providers often put secrets in the query string, e.g. dkey=.) * Uses string replacement so values stay human-readable (no URL-encoding of [REDACTED]). */ export declare function sanitizeUrlForLogs(url: string): string; /** * Whether verbose debug logging is enabled for this execution. * @param override - When set (e.g. from explicit jsParams), takes precedence. */ export declare function isLitActionDebugEnabled(override?: boolean): boolean; /** Logs only when {@link isLitActionDebugEnabled} is true. */ export declare function litDebugLog(...args: unknown[]): void; /** console.warn only when debug enabled (rare; prefer litDebugLog). */ export declare function litDebugWarn(...args: unknown[]): void; //# sourceMappingURL=lit-action-debug.d.ts.map