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