import { type SharedValue } from "react-native-reanimated"; import type { IFieldColors } from "../../types/fieldColors"; interface IUseFieldAnimatedColors { colors?: Readonly; focusedProgress: SharedValue; errorProgress: SharedValue; disabledProgress: SharedValue; inactiveProgress: SharedValue; hasValueProgress: SharedValue; } /** * Resolves only the final colors consumed by field visuals. * * There are intentionally no intermediate DerivedValues for individual * token endpoints. This keeps the Reanimated dependency graph small even * when many fields are mounted at the same time. * * Stable 0/1 state values bypass interpolateColor completely. When the theme * is stable, only the active theme palette is resolved; both palettes are * evaluated only while themeProgress is actually transitioning. * * During a normal focus transition only borderColor is invalidated. */ export declare const useFieldAnimatedColors: ({ colors, focusedProgress, errorProgress, disabledProgress, inactiveProgress, hasValueProgress, }: IUseFieldAnimatedColors) => { backgroundColor: import("react-native-reanimated").DerivedValue; borderColor: import("react-native-reanimated").DerivedValue; labelColor: import("react-native-reanimated").DerivedValue; textColor: import("react-native-reanimated").DerivedValue; errorColor: import("react-native-reanimated").DerivedValue; iconColor: import("react-native-reanimated").DerivedValue; placeholderColor: import("react-native-reanimated").DerivedValue; }; export {};