import { t as Primitive } from "../primitive-elements-fih1b6xg.js"; import * as React$1 from "react"; //#region src/navigation-menu/navigation-menu.libs.d.ts type PrimitiveDivProps = React$1.ComponentPropsWithoutRef; declare const ROOT_CONTENT_DISMISS = "navigationMenu.rootContentDismiss"; declare const LINK_SELECT = "navigationMenu.linkSelect"; declare function getOpenState(open: boolean): "open" | "closed"; declare function makeTriggerId(baseId: string, value: string): string; declare function makeContentId(baseId: string, value: string): string; declare function whenMouse(handler: React$1.PointerEventHandler): React$1.PointerEventHandler; /** * Approximate tabbable candidates. Does NOT consider CSS visibility (computed styles); * handled elsewhere. https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1 */ declare function getTabbableCandidates(container: HTMLElement): HTMLElement[]; declare function focusFirst(candidates: HTMLElement[]): boolean; declare function removeFromTabOrder(candidates: HTMLElement[]): () => void; declare function useResizeObserver(element: HTMLElement | null, onResize: () => void): void; interface IFocusGroupProps extends PrimitiveDivProps {} declare const FocusGroup: React$1.ForwardRefExoticComponent>; type PrimitiveButtonProps = React$1.ComponentPropsWithoutRef; interface IFocusGroupItemProps extends PrimitiveButtonProps {} declare const FocusGroupItem: React$1.ForwardRefExoticComponent>; //#endregion export { FocusGroup, FocusGroupItem, LINK_SELECT, ROOT_CONTENT_DISMISS, focusFirst, getOpenState, getTabbableCandidates, makeContentId, makeTriggerId, removeFromTabOrder, useResizeObserver, whenMouse };