import { FocusEvent } from "react"; export declare const scrollToMiddle: (element: Element, container?: Element) => void; export declare const isElementOrAncestorWithClass: (element: HTMLElement | HTMLCollectionOf | Document, className: string) => boolean; export declare const isElementWithinPopover: (element: HTMLElement | Document) => boolean; export declare const isPrintableCharacter: (keyCode: number) => boolean; export declare const scrollToFirstError: () => void; export declare const isInViewport: (element: Element, verticalOffset?: number) => boolean; export declare const isVerticallyInViewport: (element: Element) => boolean; export declare const handleProp: (key: string, value: any) => { [x: string]: any; }; export declare const isTetherElementAutoPositioningNeeded: (tetherTarget: HTMLElement | null, tetherElement: HTMLElement | null, prevTetherElementHeight: number, tetherElementOverlap: number, onCorrection: ({ tetherElementHeight, freeSpaceAbove }: { tetherElementHeight?: number | undefined; freeSpaceAbove?: boolean | undefined; }) => void) => void; export declare const getTetherElementVerticalOffset: (tetherTarget: HTMLElement | null, tetherElementHeight: number, tetherElementOverlap: number, enabled?: boolean) => number; export declare const delegateFocusBySelector: (event: FocusEvent, selector: string) => void;