/** * Options for the @Telemetry decorator */ export interface TelemetryOptions { /** * Whether to log the telemetry event to the console. * Defaults to false. */ logging?: boolean; } /** * Marks a method for telemetry tracking. * When called, it will emit a 'telemetry' event on the container. * Compatible with async and sync methods. * * @param options Configuration options for telemetry */ export declare function Telemetry(options?: TelemetryOptions): (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; /** * Marks a method as a listener for telemetry events. * The method will be automatically registered to the container's 'telemetry' event. */ export declare function TelemetryListener(): (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void;