import { FontSource } from 'expo-font'; /** * Load a map of custom fonts to use in textual elements. * The map keys are used as font names, and can be used with `fontFamily: ;`. * It returns a boolean describing if all fonts are loaded. * * Note, the fonts are not "reloaded" when you dynamically change the font map. * * @see https://docs.expo.io/versions/latest/sdk/font/ * @example const [isLoaded] = useFonts(...); */ export declare function useFonts(map: FontMap): [boolean]; interface FontMap { [name: string]: FontSource; } export {};