import React from 'react'; /** * Moves focus within the popup when the popup becomes visible. This is useful for keyboard and * screen reader users alike. This should be used with {@link useFocusRedirect} or * {@link useFocusTrap} for a complete focus management solution. * * This should be used for popups that have focusable elements inside, like Modals, non-modal * dialogs, menus, etc. */ export declare const useInitialFocus: import("@workday/canvas-kit-react/common").BehaviorHook<{ state: { stackRef: React.RefObject; targetRef: React.RefObject; initialFocusRef: React.RefObject | undefined; returnFocusRef: React.RefObject | undefined; placement: import("@popperjs/core").Placement; id: string; visibility: "hidden" | "visible"; }; events: { updatePlacement(data: { placement: import("@popperjs/core").Placement; }): void; show(event?: Event | React.SyntheticEvent | undefined): void; hide(event?: Event | React.SyntheticEvent | undefined): void; }; }, {}>; //# sourceMappingURL=useInitialFocus.d.ts.map