/**
 * Utility functions for cleaning and manipulating metadata objects
 * used in AI tracing and observability.
 */
/**
 * Removes non-serializable values from a metadata object.
 * @param metadata - An object with arbitrary values
 * @returns A new object with only serializable entries
 */
export declare function sanitizeMetadata(metadata: Record<string, any> | undefined): Record<string, any>;
/**
 * Checks if a value can be safely JSON-stringified.
 * @param value - Any value
 * @returns true if serializable, false otherwise
 */
export declare function isSerializable(value: any): boolean;
/**
 * Removes specific keys from an object.
 * @param obj - The original object
 * @param keysToOmit - Keys to exclude from the returned object
 * @returns A new object with the specified keys removed
 */
export declare function omitKeys<T extends Record<string, any>>(obj: T, keysToOmit: string[]): Partial<T>;
//# sourceMappingURL=utils.d.ts.map