/** * This manager sets up an animation frame loop to force-update focus rings, * ensuring that they should always match the current position of the active * element on the page. * * This is naive in that it only toggles the loop based on whether keyboard * mode is active. A true long-term solution for this would be a way to detect * when the page layout has changed (or rather, just _subscribe_ to animation * frames, rather than _request_ them) and only force updates in those cases. */ declare const _default: { readonly ringsEnabled: boolean; /** * Toggle whether focus rings are allowed to be shown. Use this in combination * with some keyboard vs. mouse detection to only show focus rings when the * user is navigating by keyboard. * * Setting this to `false` will prevent _all_ rings from showing, no matter * what configuration they set. Setting it to `true` will still allow rings * to hide themselves when needed. */ setRingsEnabled(enabled: boolean): void; enableAnimationTracking(): void; disableAnimationTracking(): void; }; export default _default; //# sourceMappingURL=FocusRingManager.d.ts.map