/** * Custom hook to handle auto-focusing an input element when a condition is met * Useful for focusing search inputs when dialogs or popovers open * * @param shouldFocus Condition that determines when to focus the input * @param delayMs Optional delay in milliseconds before focusing * @returns Ref to attach to the input element */ export default function useAutoFocus(shouldFocus: boolean, delayMs?: number): import('react').RefObject;