import { DependencyList } from "react"; import { ImageStyle, TextStyle, ViewStyle } from "react-native"; import { Theme } from "./theme"; export declare type NamedStyles = { [P in keyof T]: ViewStyle | TextStyle | ImageStyle; }; export declare const useStyleSheet: | NamedStyles>(factory: (theme: Theme) => T, deps?: DependencyList | undefined) => T;