type UndoFn = () => void;
/**
 * Hides all elements in the document body for assertive technologies except the specified elements with `aria-hidden`.
 * @param avoidElements - An array of elements to avoid hiding.
 * @returns A function that, when called, will undo the hiding of elements.
 */
declare function hideNonTargetElements(avoidElements: Element[]): UndoFn;
export { hideNonTargetElements };
