{"version":3,"file":"index.d.cts","names":["LeveledLogMethod","Logger","getLogger"],"sources":["../../src/logging/index.d.ts"],"sourcesContent":["interface LeveledLogMethod {\n    (message: string, ...meta: any[]): Logger;\n    (message: any): Logger;\n    (infoObject: object): Logger;\n}\ninterface Logger {\n    error: LeveledLogMethod;\n    warn: LeveledLogMethod;\n    help: LeveledLogMethod;\n    data: LeveledLogMethod;\n    info: LeveledLogMethod;\n    debug: LeveledLogMethod;\n    prompt: LeveledLogMethod;\n    http: LeveledLogMethod;\n    verbose: LeveledLogMethod;\n    input: LeveledLogMethod;\n    silly: LeveledLogMethod;\n}\n/**\n * Retrieves the global logger instance for LangGraph Platform.\n *\n * The logger provides structured logging capabilities with\n * various log levels (error, warn, info, debug, etc.) and extra metadata such as node name etc.\n *\n * @returns {Logger} The global logger instance with leveled logging methods\n *\n * @throws {Error} When the logger is not available in the current environment\n *\n * @example\n * ```typescript\n * // Safe usage with fallback\n * const logger = getLogger();\n * logger.info(\"This will only work in LangGraph Platform environment\");\n * ```\n *\n * @remarks\n * This method is designed to work specifically within the LangGraph Platform\n * environment where a global logger is automatically registered. If you're\n * developing locally or in an environment where LangGraph Platform is not\n * available, this function will throw an error.\n */\nexport declare const getLogger: () => Logger;\nexport {};\n"],"mappings":";UAAUA,gBAAAA;EAAAA,CAAAA,OAAAA,EAAAA,MAAAA,EAAAA,GAAgB,IAAA,EAAA,GAAA,EAAA,CAAA,EACaC,MADb;EAAA,CAAA,OAAA,EAAA,GAAA,CAAA,EAENA,MAFM;aACaA,EAAAA,MAAAA,CAAAA,EAEbA,MAFaA;;UAI7BA,MAAAA,CAFgBA;EAAM,KAAA,EAGrBD,gBAHqB;EAEtBC,IAAAA,EAEAD,gBAFM;EAAA,IAAA,EAGNA,gBAHM;MACLA,EAGDA,gBAHCA;MACDA,EAGAA,gBAHAA;OACAA,EAGCA,gBAHDA;QACAA,EAGEA,gBAHFA;MACAA,EAGAA,gBAHAA;SACCA,EAGEA,gBAHFA;OACCA,EAGDA,gBAHCA;OACFA,EAGCA,gBAHDA;;;;;AA4BV;;;;;;;;;;;;;;;;;;;;cAAqBE,iBAAiBD"}