import { DependencyList } from "react"; import { ImageStyle, TextStyle, ViewStyle } from "react-native"; /** * Memoizes a provided style to its dependencies. Internally, this hook creates a new StyleSheet object on recalculation. * @param style The style to memoize. * @param dependencies Dependency array for when to recalculate the style. * @returns A memoized style object. */ export declare const useDynamicStyle: (style: () => ViewStyle | ImageStyle | TextStyle, dependencies: DependencyList) => TextStyle | ViewStyle | ImageStyle;