/** * Load Google Fonts as a React component. * * @module fonts * * @example * ```tsx * import { GoogleFonts } from "veryfront/fonts"; * * * ``` */ import React from "react"; /** Public API contract for font. */ export interface Font { name: string; variable?: string; weights?: readonly (string | number)[]; italics?: boolean; } /** Props accepted by Google fonts. */ export interface GoogleFontsProps { fonts: readonly Font[]; } /** Render Google fonts. */ export declare function GoogleFonts({ fonts }: GoogleFontsProps): React.ReactElement; //# sourceMappingURL=index.d.ts.map