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