/** * Deep clones an object while sanitizing identifier references. * * @remarks * This is the base implementation used for backward compatibility with existing code * that passes this function as a callback (e.g., .map(cloneWithSanitizedIds)). * * For type-documented conversions between Tiger and sdk-model types, use the * cloneWithSanitizedIdsTyped function with explicit type parameters. * * @param item - Item to clone * @returns Cloned item with sanitized IDs */ export declare const cloneWithSanitizedIds: (item: any) => any; /** * Type-documented version of cloneWithSanitizedIds for conversions between Tiger and sdk-model types. * * @remarks * This function uses explicit type parameters to document the conversion between Tiger types * and sdk-model types. The explicit type parameters serve as: * * 1. Documentation of the type transformation boundary * 2. A signal to developers that these are distinct type layers * 3. A marker for future refactoring when types diverge * * When Tiger types and sdk-model types diverge significantly, developers should replace * calls to this function with proper field-by-field conversion logic. * * Example usage: * ```typescript * cloneWithSanitizedIdsTyped(tigerBuckets) * ``` * * @param item - Item to clone * @returns Cloned item with sanitized IDs, cast to TOutput type */ export declare function cloneWithSanitizedIdsTyped(item: TInput): TOutput; //# sourceMappingURL=IdSanitization.d.ts.map