%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
import { FontDisplay, FontSource, FontResource, UnloadFontOptions } from './Font.types'; /** * Used to transform font family names to the scoped name. This does not need to * be called in standalone or bare apps but it will return unscoped font family * names if it is called in those contexts. * * @param fontFamily Name of font to process. * @returns Returns a name processed for use with the [current workflow](https://docs.expo.dev/archive/managed-vs-bare/). */ export declare function processFontFamily(fontFamily: string | null): string | null; /** * Synchronously detect if the font for `fontFamily` has finished loading. * * @param fontFamily The name used to load the `FontResource`. * @return Returns `true` if the font has fully loaded. */ export declare function isLoaded(fontFamily: string): boolean; /** * Synchronously detect if the font for `fontFamily` is still being loaded. * * @param fontFamily The name used to load the `FontResource`. * @returns Returns `true` if the font is still loading. */ export declare function isLoading(fontFamily: string): boolean; /** * Highly efficient method for loading fonts from static or remote resources which can then be used * with the platform's native text elements. In the browser this generates a `@font-face` block in * a shared style sheet for fonts. No CSS is needed to use this method. * * @param fontFamilyOrFontMap string or map of values that can be used as the [`fontFamily`](https://reactnative.dev/docs/text#style) * style prop with React Native Text elements. * @param source the font asset that should be loaded into the `fontFamily` namespace. * * @return Returns a promise that fulfils when the font has loaded. Often you may want to wrap the * method in a `try/catch/finally` to ensure the app continues if the font fails to load. */ export declare function loadAsync(fontFamilyOrFontMap: string | Record<string, FontSource>, source?: FontSource): Promise<void>; /** * Unloads all the custom fonts. This is used for testing. */ export declare function unloadAllAsync(): Promise<void>; /** * Unload custom fonts matching the `fontFamily`s and display values provided. * Because fonts are automatically unloaded on every platform this is mostly used for testing. * * @param fontFamilyOrFontMap The name or names of the custom fonts that will be unloaded. * @param options When `fontFamilyOrFontMap` is a string, this should be the font source used to load * the custom font originally. */ export declare function unloadAsync(fontFamilyOrFontMap: string | Record<string, UnloadFontOptions>, options?: UnloadFontOptions): Promise<void>; export { FontDisplay, FontSource, FontResource, UnloadFontOptions }; //# sourceMappingURL=Font.d.ts.map