import type { WorkletFunction } from 'react-native-worklets'; import type { AnimatedStyle, AnimationObject, NestedObjectValues, SharedValue, StyleUpdaterContainer, Timestamp } from '../commonTypes'; import type { ViewDescriptorsSet } from '../ViewDescriptorsSet'; import type { Descriptor } from './commonTypes'; export declare function createAnimatedStyleHandle(handle: THandle, styleUpdaterContainer: StyleUpdaterContainer): THandle & { styleUpdaterContainer: StyleUpdaterContainer; }; export interface AnimatedState { last: AnimatedStyle; animations: AnimatedStyle; isAnimationRunning: boolean; isAnimationCancelled: boolean; } export interface AnimatedUpdaterData { initial: { value: AnimatedStyle; updater: () => AnimatedStyle; }; remoteState: AnimatedState; viewDescriptors: ViewDescriptorsSet; styleUpdaterContainer: StyleUpdaterContainer; } export declare function prepareAnimation(frameTimestamp: number, animatedProp: AnimatedStyle, lastAnimation: AnimatedStyle, lastValue: AnimatedStyle): void; export declare function runAnimations(animation: AnimatedStyle, timestamp: Timestamp, key: number | string, result: AnimatedStyle, animationsActive: SharedValue, forceCopyAnimation?: boolean): boolean; export declare function styleUpdater(viewDescriptors: SharedValue, updater: WorkletFunction<[], AnimatedStyle> | (() => AnimatedStyle), state: AnimatedState, animationsActive: SharedValue, isAnimatedProps?: boolean, forceUpdate?: boolean): void; export declare function checkSharedValueUsage(prop: NestedObjectValues, currentKey?: string): void; export declare function buildWorkletsHash(worklets: Record> | WorkletFunction[]): string; //# sourceMappingURL=useAnimatedStyleCommon.d.ts.map