import { TextStyle } from "react-native"; import { NoUndefined } from "../../utils/types"; import { TextProps } from "../Text"; export declare const useFontFamilyFor: ({ italic, weight, }: { italic: TextProps["italic"]; weight: TextProps["weight"]; }) => string; /** * Use this function within Palette and other "atom" components like `Button`, `Pill`, etc. * This function returns a `TextStyle` that has a `fontSize` and `lineHeight` of the same number. * This is to make a `Text` behave correctly when it needs to be combined with others to make a UI component. * Don't use this function when some actual text needs to be displayed. Only use it when text needs to be part of a UI component. */ export declare const useTextStyleForPalette: (variant: NoUndefined) => TextStyle;