import type { RefObject } from 'react'; type TargetValue = T | undefined | null; type TargetType = HTMLElement | Element | Window | Document; export type BasicTarget = (() => TargetValue) | TargetValue | RefObject>; export declare function getTargetElement(target: BasicTarget, defaultElement?: T): TargetValue; export {};