/** * Telemetry integration helpers * * Provides integration utilities for adding telemetry to AgentDB components. */ /** * Wrap a database operation with telemetry */ export declare function withTelemetry(operationType: string, tableName: string, operation: () => Promise): Promise; /** * Wrap a batch operation with telemetry */ export declare function withBatchTelemetry(operationType: string, tableName: string, batchSize: number, operation: () => Promise): Promise; /** * Record cache access with telemetry */ export declare function recordCacheAccess(key: string, hit: boolean): void; /** * Create span attributes from operation context */ export declare function createSpanAttributes(context: { operation?: string; table?: string; filters?: Record; limit?: number; offset?: number; }): Record; /** * Enhanced error recording with context */ export declare function recordErrorWithContext(error: Error, operation: string, context?: Record): void; //# sourceMappingURL=integration.d.ts.map