/**
 * Returns the currently active element in the document or shadow root.
 * @param root - The root to start searching from
 * @returns The active element
 */
export declare function getActiveElement(root?: Document | ShadowRoot): Element | null;
/**
 * Calls the blur method on the current active element if it is a child of the provided element.
 * Needed for fixing a11y console errors.
 * @param elm The element to check
 */
export declare const blurActiveElement: (elm: HTMLElement) => void;
/**
 * Decides if the current active element or current event is within a containing element or a triggering element.
 * This is useful for components that trigger some kind of modal panel.
 * @param container The element to check
 * @param trigger The element that triggered the event
 * @param event The event that triggered the function
 * @returns whether the current focus is within the dropdown
 */
export declare function focusInContainer(container: HTMLElement, trigger: HTMLElement, event?: Event): any;
