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