/** * Safe, consistently namespaced runtime logging. * * Inbound channel payloads are user-controlled, and upstream SDKs fold response * bodies into `error.message` — so a diagnostic log must name the failure * without reproducing whatever produced it. */ /** * Runtime logger with an intentionally narrow, message-only API. * * Reduce unknown values through {@link logger.safeErrorLabel} and * {@link logger.logIdentifier} before interpolating them. Raw objects and * exceptions stay out of this interface to prevent payload or credential * disclosure. */ export declare const logger: Readonly<{ info(message: string): void; warn(message: string): void; error(message: string): void; /** * Describe an error for a log line using only its type and HTTP status. * * Never includes `error.message`: the LangGraph SDK builds it from the Agent * Server's full response body, which can echo message content back. * * @param error - The error to describe. * @returns A safe error label. */ safeErrorLabel(error: unknown): string; /** * Sanitize and bound an untrusted identifier before interpolating it. * * @param value - The identifier to sanitize. * @returns A safe identifier. */ logIdentifier(value: string): string; /** * Align with Python `str.isprintable()` so Unicode controls cannot split lines. * * @param character - The character to check. * @returns True if the character is printable, false otherwise. */ isLogPrintable(character: string): boolean; }>; //# sourceMappingURL=log.d.ts.map