import React from "react"; import { TextElement, TextProps } from "./Text"; export interface SrOnlyProps extends TextProps { /** * Boolean if the text should become visible when focused. If this prop is * enabled and the `tabIndex` prop is `undefined`, the `tabIndex` will be * updated to be `0`. */ focusable?: boolean; } /** * This component is used to create text that is only visible to screen readers. * If you enable the `focusable` prop, the text will become visible to all users * while focused. */ declare const SrOnly: React.ForwardRefExoticComponent>; export default SrOnly;