import { KeyboardEvent } from "react";
import { IRegion } from "../typings/domUtilities.js";
/**
 * Removes the element specified from the DOM
 */
export declare const removeFromDom: (element: HTMLElement) => void;
/**
 * Returns bounding rectangle of specified elements
 * in local (relative to offset parent of element)
 * coordinate space
 *
 * @param element - element to get the region for
 * @param ignoreScrollOffsets - whether to ignore scrollOffsets
 * @param windowObject - use for unit test only
 * @returns Bounding rectangle
 */
export declare const region: (element: HTMLElement, ignoreScrollOffsets?: boolean, windowObject?: Window & typeof globalThis) => IRegion;
/**
 * Returns a value indicating whether the element
 * specified is fixed position
 * or is contained in fixed position element
 */
export declare const isFixedPosition: (element: HTMLElement | string) => boolean;
/**
 * Returns bounding rectangle of specified elements
 * in local (relative to offset parent of element)
 * coordinate space
 */
export declare const elementRegion: (elementOrSelector: HTMLElement | string, getRegionBasedOnPosition?: boolean) => IRegion;
export declare const isElementTextInput: (element: HTMLElement | EventTarget | null | undefined) => boolean;
export declare const isElementSubmitButton: (event: KeyboardEvent) => boolean;
/**
 * @internal
 * Returns the focusable elements of the given element
 * @param element - the element to get the focusable elements from
 * @returns an object containing the focusable elements, the first focusable element, and the last focusable element
 */
export declare const getFocusableElements: (element?: HTMLElement | null, includeHidden?: boolean) => {
    focusableElements: HTMLElement[];
    firstElement: HTMLElement;
    lastElement: HTMLElement;
};
/**
 * @internal
 * @param element - the element to test for focusability
 * @returns whether or not the supplied element is focusable
 */
export declare const isElementFocusable: (element?: HTMLElement | null, includeHidden?: boolean) => boolean;
//# sourceMappingURL=domUtilities.d.ts.map