import type { Collector, TelescopeStorage } from '../types.js'; /** * Records model lifecycle events (created, updated, deleted) via Model.on(). * * Registers on all models discovered through the ModelRegistry. */ export declare class ModelCollector implements Collector { private readonly storage; readonly name = "Model Collector"; readonly type: "model"; constructor(storage: TelescopeStorage); register(): Promise; /** * Safely converts a model instance to a plain object. If the value has * a `toJSON()` method (e.g. Rudder Model), use it. Otherwise try * JSON round-trip with a circular-reference guard. Falls back to * `String(value)` if all else fails. */ private observeModel; } //# sourceMappingURL=model.d.ts.map