/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import type { CustomProperties, Style } from '../../types/styles'; import type { ReactNativeProps } from '../../types/renderer.native'; type StyleOptions = { customProperties: null | undefined | CustomProperties; provideInheritableStyle: boolean; withTextStyle: boolean; withInheritedStyle: boolean; writingDirection?: null | undefined | ('auto' | 'ltr' | 'rtl'); }; /** * Produces the relevant React Native props to implement the given styles, and any * inheritable text styles that may be required. */ export declare function useStyleProps( flatStyle: Style, options: StyleOptions ): { nativeProps: ReactNativeProps; inheritableStyle: null | undefined | Style; };