import type { TextProps, TextStyle } from './props'; import type { NewComponentTypes, SharedTokens } from '@instructure/ui-themes'; type StyleParams = { color: TextProps['color']; fontStyle: TextProps['fontStyle']; lineHeight: TextProps['lineHeight']; letterSpacing: TextProps['letterSpacing']; transform: TextProps['transform']; size: TextProps['size']; variant: TextProps['variant']; weight: TextProps['weight']; wrap: TextProps['wrap']; margin: TextProps['margin']; }; /** * --- * private: true * --- * Generates the style object from the theme and provided additional information * @param componentTheme The theme variable object. * @param params Additional parameters to customize the style. * @param sharedTokens Shared token object that stores common values for the theme. * @return The final style object, which will be used in the component */ declare const generateStyle: (componentTheme: ReturnType, params: StyleParams, sharedTokens: SharedTokens) => TextStyle; export default generateStyle; //# sourceMappingURL=styles.d.ts.map