eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
19 lines (18 loc) • 818 B
TypeScript
import type { InstrumentationDefinition, InstrumentationSetupContext } from "#public/instrumentation/index.js";
/**
* Registers the authored instrumentation config and invokes its `setup`
* callback with the resolved agent name.
*
* Called once by the generated instrumentation Nitro plugin at server
* startup. Subsequent calls overwrite the previous value.
*
* @internal — not part of the public API.
*/
export declare function registerInstrumentationConfig(config: InstrumentationDefinition, context: InstrumentationSetupContext): void;
/**
* Returns the registered instrumentation config, or `undefined` when no
* `defineInstrumentation` export was provided.
*
* @internal — not part of the public API.
*/
export declare function getInstrumentationConfig(): InstrumentationDefinition | undefined;