import { LegacyRef } from 'react'; import type { Font } from '../types'; type HeadlessProps = { isLoading: boolean; isVisible: boolean; ref: LegacyRef; defaultText: string; }; type Props = { font: Font; children: (args: HeadlessProps) => JSX.Element; fetchDefaultText: boolean; }; declare function GoogleFontItem({ font, fetchDefaultText, children }: Props): JSX.Element; export default GoogleFontItem;