/**
 * Custom useRef hook that returns an existing ref (if provided) or a new one.
 */
export declare function useNewOrExistingRef<T>(existingRef?: React.RefObject<T>): React.RefObject<T | null>;
